rewrite server responses

Igor Sysoev igor at
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 (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

More information about the nginx mailing list