Re: One NGINX server to 2 backend servers

2017-03-04 Thread Francis Daly
On Fri, Feb 24, 2017 at 06:17:51AM -0500, p0lak wrote: Hi there, > 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 >>> redirect t

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 Rajeev J Sebastian
I may be wrong, but where is your proxy_pass statement? On Fri, Feb 24, 2017 at 4:47 PM, p0lak wrote: > 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

Re: One NGINX server to 2 backend servers

2017-02-27 Thread Pratyush Kumar
Seems like there was some problem with my previous replyOn 26-Feb-2017 11:26, Pratyush Kumar wrote:Do you have two servers or three servers ?Can you also mention the server for whuch you have shared the config.What I  understand is that you have one server facing internet, recieving requests and f

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

Re: One NGINX server to 2 backend servers

2017-02-25 Thread Pratyush Kumar
Do you have two servers or three servers ?Can you also mention the server for whuch you have shared the config.What I  understand is that you have one server facing internet, recieving requests and forwarding to two different back-end servers.If that's not the case then please explain your topology

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 >>>