Re: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-27 Thread Maxim Dounin
Hello! On Mon, Oct 27, 2014 at 04:44:25PM -0400, NaZz wrote: > Where should I dig exactly? I am using Nginx with PHP-FPM and I have checked > the logs but I can't find anything. Where do I dig? I thought this is > connected to Nginx configuration? >From nginx point of view, "your upstream server

Re: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-27 Thread NaZz
Where should I dig exactly? I am using Nginx with PHP-FPM and I have checked the logs but I can't find anything. Where do I dig? I thought this is connected to Nginx configuration? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254279,254327#msg-254327 _

Re: Can't locate nginx.pm in @INC

2014-10-27 Thread djeyewater
Thanks Maxim, the perl_modules work around works well. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254255,254324#msg-254324 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: intercepting proxy_pass response

2014-10-27 Thread Maxim Dounin
Hello! On Mon, Oct 27, 2014 at 12:43:33PM -0500, Joe Rizzo wrote: > Hi - > I have somewhat of a unique requirement. > > If the http response from a proxied(proxy_pass) request is 302, I want to > clear a cookie and redirect to a specific url. Is is possible to intercept > the 302 from the app s

intercepting proxy_pass response

2014-10-27 Thread Joe Rizzo
Hi - I have somewhat of a unique requirement. If the http response from a proxied(proxy_pass) request is 302, I want to clear a cookie and redirect to a specific url. Is is possible to intercept the 302 from the app server and force my own redirect? Thanks, Joe __

Re: Can't locate nginx.pm in @INC

2014-10-27 Thread Maxim Dounin
Hello! On Fri, Oct 24, 2014 at 04:06:55PM -0400, djeyewater wrote: > When I try to start nginx with embedded perl I get the error "Can't locate > nginx.pm in @INC" > > @INC includes the folder I specified using --with-perl_modules_path, but > doesn't include the arch-name subfolder (i386-linux-t

Re: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-27 Thread Maxim Dounin
Hello! On Sat, Oct 25, 2014 at 09:21:49PM -0400, NaZz wrote: > I have a joomla website and when I am trying to update a larger extension I > get bad gateway (502) error. > I am able to update all small (normal) extensions. > > I am getting this error in nginx error log: "upstream sent invalid s