php-server/files/enable-php.conf
2019-05-21 17:41:00 +08:00

8 lines
186 B
Plaintext

location ~ [^/]\.php(/|$)
{
try_files $uri =404;
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}