mime types
Roxis
roxis at list.ru
Tue Mar 13 22:39:55 MSK 2007
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;
}
More information about the nginx
mailing list