5 messages in ru.sysoev.nginxRe: mime types
FromSent OnAttachments
Gregg ReynoldsMar 13, 2007 12:04 pm 
RoxisMar 13, 2007 12:39 pm 
Gregg ReynoldsMar 13, 2007 1:19 pm 
RoxisMar 13, 2007 1:41 pm 
Gregg ReynoldsMar 13, 2007 2:11 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: mime typesActions...
From:Roxis (roxi@public.gmane.org)
Date:Mar 13, 2007 12:39:32 pm
List:ru.sysoev.nginx

On Tuesday 13 March 2007, Gregg Reynolds wrote:

HTTP/1.x 200 OK Server: nginx/0.5.14 Date: Tue, 13 Mar 2007 18:42:10 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/5.2.1

it seems that you pass all files through fastcgi server like this:

location / { fastcgi_pass unix:/tmp/php-fcgi.sock; }

and you really shouldn't

this is right way:

location ~ \.php$ { fastcgi_pass unix:/tmp/php-fcgi.sock; }