merge-requests/2/head
Matthew 2021-07-08 23:21:58 -04:00
parent f3096b1910
commit cea76d870d
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 8 additions and 1 deletions

View File

@ -32,14 +32,21 @@ server {
error_page 404 /index.php;
location ~ ^(.+\.php)(.*)$ {
set $path_info $fastcgi_path_info;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $path_info;
fastcgi_param PATH_TRANSLATED $document_root$path_info;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.(?!well-known).* {