How to configure Nginx Proxy Manager to forward the server name to the upstream backend server? #3108
Replies: 1 comment
-
Nevermind, wrong configuration on my end. Sorry. you can remove this message. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all !
I run a Nginx Proxy Manager as a reverse proxy for several web sites I own. The backend server (172.16.50.104) hosts several Vhosts, say domain1.com, domain2.com, domain3.com.
When I try to load www.domain1.com, I get the default Nginx page from the backend server (not the index page from www.domain1.com).
I could use a local hosts file on the NPM server where www.domain1.com and www.domain2.com are aliases for 172.16.50.104. Is there a cleaner way to pass the server name from the HTTP request to the backend server ?
Thanks my friends !
Beta Was this translation helpful? Give feedback.
All reactions