NGINX: PHP-FPM now only works with index.php

Previously it was applied to all PHP files. Or rather, it should have, but libchandler only has one PHP file on htdocs - index.php. Without this fix OpenVK profiles with ".php" in their link would "break".
This commit is contained in:
Ilya Prokopenko 2021-10-12 22:15:43 +07:00 committed by GitHub
parent c6335aea7b
commit 42108cf922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ server {
log_not_found off; log_not_found off;
} }
location ~ \.php$ { location ~ \index.php$ {
# include fastcgi.conf; # include fastcgi.conf;
include fastcgi_params; include fastcgi_params;
# choose one of the above depending on your distribution. # choose one of the above depending on your distribution.