rewrite server responses

Julien Vehent julien at
Mon Oct 4 23:36:24 MSD 2010

On Mon, 04 Oct 2010 12:20:54 -0400, "Dayo" <nginx-forum at> wrote:
> Try putting it into the php location instead.

Still the same....

        location ~ \.php$ {
                port_in_redirect off;
                include fastcgi_params;
                fastcgi_pass    unix:/var/run/spawn-fcgi-php5.socket;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;

Could it be cached somewhere ?
I have haproxy as a frontend, but it really only does HTTP requests/responses balancing.


More information about the nginx mailing list