location ~ \.htm$ { root /location; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME /location$fastcgi_script_name; include fastcgi_params; } Does not exactly how I can not run the sample. index.htm inside the include file 1.php Posted at Nginx Forum: http://forum.nginx.org/read.php?2,67909,121037#msg-121037