How to configure without extension on nginx

letgohome nginx-forum at nginx.us
Sun Dec 26 06:40:16 MSK 2010


I try it, but unsuccessful, 

[code]
    server {
        listen       80;
        server_name  localhost;
        root /www/linux;
        index index.html index.php index.htm;
        
        location = /test {
           types {}
           default_type text/html;
        }

        location ~ \.php$ {
           # fastcgi_pass  unix:/tmp/php-cgi.sock;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            include fcgi.conf;
        }
    }
[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,161032,161117#msg-161117




More information about the nginx mailing list