rewrite server responses

Igor Sysoev igor at sysoev.ru
Sat Oct 2 13:55:34 MSD 2010


On Sat, Oct 02, 2010 at 11:49:50AM +0200, Julien Vehent wrote:

> Hello list,
> 
> I have a nginx server that runs on 127.0.0.1:5004 (behind a load balancer) and I'm having difficulties with HTTP responses.
> It seems that the application (in PHP5, Dotclear) sends a 302 when I try to connect to the admin panel, and this 302 redirects to <fqdn>:5004.
> 
> I there any way to rewrite that response in nginx ?

port_in_redirect off;


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



More information about the nginx mailing list