Issue about nginx removing the header "Connection" in HTTP response?

2017-02-28 Thread tjlp
Hi, nginx guy, In our system, for some special requests, the upstream server will return a response which the header includes "Connection: Close". According to HTTP protocol, "Connection" is one-hop header. So, nginx will remove this header and the client can't do the business logic correctly

Re: Nginx with a ICAP-like front-end

2017-02-28 Thread Alder Netw
Rajeev, you meant asking the validator or client to set X-Accel-Redirect? Could you elaborate here? Thanks, On Mon, Feb 27, 2017 at 9:14 AM, Rajeev J Sebastian < rajeev.sebast...@gmail.com> wrote: > Adler, maybe you should try X-Accel-Redirect to avoid this conversion of > POST to GET? > > On Mon

Re: set_real_ip_from, real_ip_header directive in ngx_http_realip_module

2017-02-28 Thread Nishikubo Minoru
Hello, Maxim I understand your explanation and thanks for reply. I tried to replace $binary_remote_addr (not $remote_addr for performance reason) with True-Client-IP header which is Akamai CDN Server will send, via ngx_http_limit_req_module and use as a shared memory zone key. On Tue, Feb 28, 2

Re: Nginx using variables / split_clients is very slow

2017-02-28 Thread larsg
Dear Maxim, thank you very much. This solved my problem! Great! Kind Regards Lars Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272657,272663#msg-272663 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngin

Re: IPv6 upstream problem

2017-02-28 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! On 03/01/2017 12:15 AM, Maxim Dounin wrote: > Hello! > > On Tue, Feb 28, 2017 at 10:57:01PM +0700, Dewangga Bachrul Alam > wrote: > >> Currently I have problem with upstream with IPv6. For example I >> have an origin with subdomain >> dual-

Re: IPv6 upstream problem

2017-02-28 Thread Maxim Dounin
Hello! On Tue, Feb 28, 2017 at 10:57:01PM +0700, Dewangga Bachrul Alam wrote: > Currently I have problem with upstream with IPv6. For example I have > an origin with subdomain dual-stack-ipv4-ipv6.xtremenitro.org. > > dual-stack-ipv4-ipv6.xtremenitro.org IN A 192.168.1.1 > dual-stack-ipv4-ipv6.x

IPv6 upstream problem

2017-02-28 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! Currently I have problem with upstream with IPv6. For example I have an origin with subdomain dual-stack-ipv4-ipv6.xtremenitro.org. dual-stack-ipv4-ipv6.xtremenitro.org IN A 192.168.1.1 dual-stack-ipv4-ipv6.xtremenitro.org IN 2001:xx:xx

Re: set_real_ip_from, real_ip_header directive in ngx_http_realip_module

2017-02-28 Thread Maxim Dounin
Hello! On Tue, Feb 28, 2017 at 09:58:05AM +0900, Nishikubo Minoru wrote: > Hello, > I tried to limit an IPv4 Address with ngx_http_limit_req module and > ngx_realip_module via Akamai would send True-Client-IP headers. > > According to the document ngx_http_readip_module( > http://nginx.org/en/do

Re: Nginx using variables / split_clients is very slow

2017-02-28 Thread Maxim Dounin
Hello! On Tue, Feb 28, 2017 at 06:59:00AM -0500, larsg wrote: > I want to use nginx as reverse proxy for an A/B testing scenario. > The nginx should route to two versions of one backend service. The two > versions provides this service via different URL paths. > Example: >* x% of all requests

Nginx using variables / split_clients is very slow

2017-02-28 Thread larsg
Hi, I want to use nginx as reverse proxy for an A/B testing scenario. The nginx should route to two versions of one backend service. The two versions provides this service via different URL paths. Example: * x% of all requests https://edgeservice/myservice should be routed to https://1.2.3.4/my

Re: nginx stopping abruptly at fix time (2:00 am) repeatedly on Cent OS 7.2

2017-02-28 Thread omkar_jadhav_20
Hi Anoop and B.R ... Post through troubleshooting we have found out that it was due to OS. Thanks for your concern , please discard this issue. Issue has been resolved. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272633,272656#msg-272656