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
1 changed files with 1 additions and 1 deletions

View File

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