Re: One NGINX server to 2 backend servers

2017-03-02 Thread p0lak
Yes, you're right ! I forgot proxy_pass statement but do not know why I cannot set proxy_pass with the full path name as http://mysite/forum/index.html Proxy_pass statement redirect me to root of my virtualhost so http://mysite/ Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272606,2

Re: One NGINX server to 2 backend servers

2017-02-27 Thread p0lak
There is nothing in your reply Pratyush :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272606,272643#msg-272643 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

One NGINX server to 2 backend servers

2017-02-24 Thread p0lak
Hello everybody, I have installed a dedicated server for NGINX based on Ubuntu Core I want to define this behavior NGINX Server (Public IP) >>> listening on port 80 >>> redirect to a LAN Server on port 80 (http://mylocalserver/virtualhost1) NGINX Server (Public IP) >>> listening on port 81 >>>