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

Nginx with a ICAP-like front-end

2017-02-25 Thread Alder Netw
Hi I want to add an ICAP-like front-end validation server V with nginx. The user scenario is like this: The client will usually access the real app server R via nginx, but with a validation server V, the client request will first pass to V, V will dp certain validation and upon sucess the request

Re: realip and remote_port

2017-02-25 Thread xxdesmus
Sorry, I meant $remote_port -- my apologies. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,261668,272619#msg-272619 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx proxy_pass HTTPS/SSL/HTTP2 keepalive

2017-02-25 Thread Maxim Dounin
Hello! On Fri, Feb 24, 2017 at 05:07:22AM -0500, c0nw0nk wrote: > So the Nginx documentation says this > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive > > For HTTP, the proxy_http_version directive should be set to “1.1” and the > “Connection” header field should be clear

Re: realip and remote_port

2017-02-25 Thread Maxim Dounin
Hello! On Wed, Feb 22, 2017 at 04:58:50PM -0500, xxdesmus wrote: > I can confirm I see the same thing. > > If you use set_real_ip_from, real_ip_header, etc then it wipes out the > $server_port value. The $server_port variable is not expected to be changed by the realip module. If you see it c