certbot/certbot-compatibility-test/nginx/nginx-roundtrip-testdata/phpfcgi/nginx.conf
2016-07-11 13:58:21 -07:00

10 lines
244 B
Nginx Configuration File

location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
}