3 messages in ru.sysoev.nginxRe: nginx as reverse-proxy changes 50...
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:Re: nginx as reverse-proxy changes 50x repliesActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 17, 2007 2:40:10 am
List:ru.sysoev.nginx

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