server {
listen 80;
server_name localhost;
location / {
root D:/programming/NPMserv/www;
index index.html index.htm index.php default.php;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ .*\.php {
root D:/programming/NPMserv/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME D:/programming/NPMserv/www$fastcgi_script_name;
fastcgi_param PATH_INFO $request_uri;
include fastcgi_params;
}
}