FastCGI response headers issue

Hi!

I’m using nginx 0.6.32 to serve a PHP application through FastCGI. For
some reason nginx doesn’t seem to forward the Content-Type,
Content-Length
and Content-Encoding response headers. This causes javascript and css
served by a php script to fail in Safari, cause it’s delivered as
text/html with Content-Length 0. Is there any configuration setting I’m
missing, or is this a bug?

Regards,
Florian Schulze

Hi Florian,

Can you please post the config you are using to connect nginx to your
backend FCGI servers.

Cheers

Dave

On Sun, 02 Nov 2008 00:45:33 +0100, Florian Schulze
[email protected] wrote:

Hi!

I’m using nginx 0.6.32 to serve a PHP application through FastCGI. For
some reason nginx doesn’t seem to forward the Content-Type,
Content-Length

On Mon, 03 Nov 2008 01:39:41 +0100, Dave C.
[email protected] wrote:

Hi Florian,

Can you please post the config you are using to connect nginx to your
backend FCGI servers.

I slightly changed the config and now it works, not sure why though :confused:

Regards,
Florian Schulze