-
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
Set IP address as virtual host? #382
Comments
have u figure out? |
Not yet, no. |
any luck now? |
Nginx uses the information contained in the http request header to decide how to route that request to virtual hosts. You could think of running 2 instances of nginx-proxy, each of them bound to a single ip address. This way depending on the ip address used, a different nginx-proxy would take care of the http request. But that would only work if those 2 nginx-proxy containers are not on the same docker host. |
Hey,
Normally, virtual hosts are specified using host names. Is it possible to redirect traffic to another container if specifying the IP address--rather than a DNS host name--as a virtual host?
The text was updated successfully, but these errors were encountered: