-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
504 when connecting to backend on docker-machine #364
Comments
Hmm weird, can you try from another container e.g. Do you know if you have inter-container communication disabled? (--icc=false) |
|
Hmm even weirder 😏 can you try from the running nginx-proxy container? Can you see if the generated nginx config looks sane? correct IP:s etc? |
@wader good news! it looks like it was down to starting the proxy via docker-compose and the other web container via a normal docker run. Could connect into the proxy container from other containers, but the proxy container doesn't appear to be able to reach outer containers. When both started as normal docker runs it worked fine, both started via docker-compose and the nginx config seems a bit off, will open a different issue for that though |
Ah ok, so you can't mix "old" docker networking and the new docker networking feature (used by docker-compose config version 2)? |
Running a backend httpd server with
And a hosts file entry of
With the proxy set up as
visiting
http://dev-app.test.com:8080/
responds as expected, visitinghttp://dev-app.test.com/
responds withLooking at the logs for the proxy container I see
Would really appreciate any help with this, I've got it running fine in production on ubuntu host (though different setup), but struggling somewhat when getting it going on docker machine on mac os
The text was updated successfully, but these errors were encountered: