php为fastcgi模式
location ~ ^/(image|images)/.*.(php|php5)$
{
deny all;
}
location ~ .*.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
php为fastcgi模式
location ~ ^/(image|images)/.*.(php|php5)$
{
deny all;
}
location ~ .*.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;