Re: Nginx fastcgi_intercept_errors

2013-11-29 Thread Oleg V. Khrustov
Many thanks, works like a charm. The reason is Wrong location settings. On Fri, Nov 29, 2013 at 5:02 PM, Maxim Dounin wrote: > Hello! > > On Fri, Nov 29, 2013 at 04:59:56PM +0400, Maxim Dounin wrote: > > > Hello! > > > > On Fri, Nov 29, 2013 at 03:36:18PM +0400, Oleg V. Khrustov wrote: > > >

Re: Nginx fastcgi_intercept_errors

2013-11-29 Thread Oleg V. Khrustov
1) /etc/init.d/nginx configtest nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful It was definitely reloaded prior doing any tests. 2) I have a separate access log file for this specific (root) location with custo

Re: Nginx fastcgi_intercept_errors

2013-11-29 Thread Maxim Dounin
Hello! On Fri, Nov 29, 2013 at 04:59:56PM +0400, Maxim Dounin wrote: > Hello! > > On Fri, Nov 29, 2013 at 03:36:18PM +0400, Oleg V. Khrustov wrote: > > > nginx/1.5.4 doesnt intercept fastcgi errors. > > location / { > > > > fastcgi_pass bg; > > error_page 500 502 503 504 40

Re: Nginx fastcgi_intercept_errors

2013-11-29 Thread Maxim Dounin
Hello! On Fri, Nov 29, 2013 at 03:36:18PM +0400, Oleg V. Khrustov wrote: > nginx/1.5.4 doesnt intercept fastcgi errors. > location / { > > fastcgi_pass bg; > error_page 500 502 503 504 408 404 =204 /204.htm; > fastcgi_intercept_errors on; > > . > } > > H

Nginx fastcgi_intercept_errors

2013-11-29 Thread Oleg V. Khrustov
nginx/1.5.4 doesnt intercept fastcgi errors. location / { fastcgi_pass bg; error_page 500 502 503 504 408 404 =204 /204.htm; fastcgi_intercept_errors on; . } However in root location access log we still see 91.192.148.232 - - [29/Nov/2013:13:39:20 +0400]