nginx as reverse-proxy changes 50x replies

Igor Sysoev is at rambler-co.ru
Tue Jul 17 13:40:33 MSD 2007


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


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list