Hey guys,

Can someone help me? I'm using NGINX to direct connections to two Proxy
servers.

I did a simple setup.

upstream webgateway {
   server 192.168.239.151:9090;
   server 192.168.239.152:9090;
}

server {
   listen 81;
   server_name proxy.lab.local;

   location / {
          proxy_pass http://webgateway;
   }
}

NGINX is listening on port 81.

If I configure the proxy IP in the browser, the client "goes out" to the
Internet.

Browser:
192.168.239.151:9090 or 192.168.239.152:9090 - Its Ok!

If I configure the NGINX IP in the browser, the client "does not go out" to
the internet.

Browser:
192.168.239.151:81 - No!

The packet even arrives at the proxy, but the browser tries to load "
http://webgateway.com";

Can someone help me? Thanks.

--
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to