FastCGI response headers issue


#1

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


#2

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
removed_email_address@domain.invalid 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


#3

On Mon, 03 Nov 2008 01:39:41 +0100, Dave C.
removed_email_address@domain.invalid 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