3 messages in ru.sysoev.nginxnginx as reverse-proxy changes 50x re...
FromSent OnAttachments
Joaquin Cuenca AbelaJul 17, 2007 2:34 am 
Igor SysoevJul 17, 2007 2:40 am 
Joaquin Cuenca AbelaJul 17, 2007 2:48 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:nginx as reverse-proxy changes 50x repliesActions...
From:Joaquin Cuenca Abela (e98c@public.gmane.org)
Date:Jul 17, 2007 2:34:19 am
List:ru.sysoev.nginx

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!