Re: Reverse proxy should send server_name

2016-11-22 Thread Mik J via nginx
Hello Francis,Thank you very much.Everything works fine. Have a nice week Le Mardi 22 novembre 2016 21h55, Francis Daly a écrit : On Tue, Nov 22, 2016 at 06:51:28PM +, Mik J via nginx wrote: Hi there, > location ^~ / { > proxy_pass    http://10.1.1.1/service1;And it

Re: Reverse proxy should send server_name

2016-11-22 Thread Francis Daly
On Tue, Nov 22, 2016 at 06:51:28PM +, Mik J via nginx wrote: Hi there, > location ^~ / { > proxy_pass    http://10.1.1.1/service1;And it works but the > request appears is if the client typed http://10.1.1.1/service1/ from the web > server point of view > What should I write o

Reverse proxy should send server_name

2016-11-22 Thread Mik J via nginx
Hello, I don't know how to finalise my reverse proxy setup. Client <--Internet-->Reverse_Proxy<--LAN-->Web_ServerWhen a client connects to FQDN, the request is followed to the IP address of the webserver such aslocation ^~ / { proxy_pass    http://10.1.1.1/service1;And it works but t