Calling another container results in Connection refused

Oh, as we’ve seen that the Vue.js container needs this to be localhost, the above will bite you if you ever access Nginx using something else than localhost, in which case $host will be set to whatever is used then. So, you’d better hardcode proxy_set_header Host localhost; for the WebSocket configuration too.

1 Like