nginx as reverse-proxy changes 50x replies

Joaquin Cuenca Abela e98cuenc at gmail.com
Tue Jul 17 13:34:42 MSD 2007


Hi,

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?

Thank you!

-- 
Joaquin Cuenca Abela





More information about the nginx mailing list