Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-10 Thread Keyur
Thanks Maxim for the details. Will monitor / debug as per your suggestion as let you know. Regards, Keyur Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263842,263927#msg-263927 ___ nginx mailing list nginx@nginx.org http

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-05 Thread Keyur
Thanks Richard & itpp2015 for your response. Further update : There are 2 cases : 1. 504 @ 120 seconds coming with below mentioned error : 2016/01/05 03:50:54 [error] 1070#0: *201650845 upstream timed out (110: Connection timed out) while connecting to upstream, client: 66.249.74.99, server:

Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread Keyur
Hi, We are running following stack on our web server Varnish + Nginx + FastCGI (php-fpm) on RHEL 6.6 Its a dynamic website with different result sets everytime and has around 2 million url's indexed with Google. * Its running on nginx/1.5.12 and PHP 5.3.3 (Will be upgraded to latest nginx and

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread Keyur
Here are some of the timeouts already defined : Under server wide nginx.conf : keepalive_timeout 5; send_timeout150; under specific vhost.conf : proxy_send_timeout 100; proxy_read_timeout 100; proxy_connect_timeout 100; fastcgi_connect_timeout 120; fastcgi_send_timeout 300;

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-23 Thread Keyur
Hello, Can someone please look into this.. I need it for proper website functionality. Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250823,251101#msg-251101 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-16 Thread Keyur
Hi Lucas, Noted! Agreed! How do I tell nginx to do GeoIP on FirstNonPrivateXForwardedForIP ? Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250823,250876#msg-250876 ___ nginx mailing list nginx@nginx.org http

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-15 Thread Keyur
/1.1 200 50675 I need a way where I can tell nginx that it should do GeoIP on the First Public IP from left. Currently due to private address at the first place GeoIP fails and country is not detected. Do suggest what can be done. Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org

GeoIP FirstNonPrivateXForwardedForIP

2014-06-12 Thread Keyur
using GeoIP module directive called FirstNonPrivateXForwardedForIP How to do this in nginx ? Kindly suggest Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250823,250823#msg-250823 ___ nginx mailing list nginx@nginx.org http