nginx as reverse-proxy changes 50x replies

Joaquin Cuenca Abela e98cuenc at gmail.com
Tue Jul 17 13:48:31 MSD 2007


On 7/17/07, Igor Sysoev <is at rambler-co.ru> wrote:
> On Tue, Jul 17, 2007 at 11:34:42AM +0200, Joaquin Cuenca Abela wrote:
>
> > I have nginx as a reverse-proxy of an apache server. If there is a 500
> > reply from apache, nginx rewrites it to use its 500 reply.
> >
> > My problem is that I have a php script that sends a 500 reply on
> > purpose, along with an error message. I would like for that 500 reply
> > to be forwarded by nginx to the user without any changes.
> >
> > Is there any way to do it?
>
> Show your cofniguration parts where you use
>
> proxy_intercept_errors
> and
> error_page

Hi,

it was "proxy_intercept_errors on", sorry for the noise :-(
next time I will take a second look at the config

Thank you!

-- 
Joaquin Cuenca Abela





More information about the nginx mailing list