Rewrite HTTP status code

John de Freitas john_de_f at hotmail.com
Fri Mar 21 22:52:16 UTC 2014


Hello. I'm running nginx as a proxy for back-end servers that are 
returning a non-standard HTTP status phrase. I'd like to be able to 
rewrite the status to something standard. For 
example, if the back-end returns:

HTTP/1.1 400 Not Understood

I'd like to rewrite to:

HTTP/1.1 400 Bad Request

Thanks.


Regards,
John 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140321/1af0bb34/attachment.html>


More information about the nginx mailing list