Replies: 1 comment 1 reply
-
I did something like this and just filled the X-Proxy headers in my main nginx instance to feed the nginx-proxy container and routed the traffic via proxy_pass. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have scanned through some of the previous issues but can't seem to find any commentary on the following setup. Is it possible to proxy Nginx-Proxy via the host ?
Given a machine which serves ones main site, domain.tld, is it possible to also serve sub domains via an Nginx-Proxy container. I am hoping to acheieve something like the following diagram.
Would anyone here know if this is possible ? or indeed how to set this up ?
From the NginX it appears that one may use IP transparency. To do so one must route all the traffic from the container back via the hosts Nginx. In my attempts to set this up the traffic seems to return through the default gateway of the containers' network and not through the exposed ports of the container and I'm not sure how one might capture the packets and redirect them through the hosts nginx.
I have asked this on stack overflow/server fault but the question got me a tumbleweed award so that's discouraging.
Beta Was this translation helpful? Give feedback.
All reactions