Merge pull request #1852 from dkaser/tailscale-nginx

Add fastcgi_path_info to default nginx configuration
This commit is contained in:
tom mortensen
2024-09-16 14:51:36 -07:00
committed by GitHub

View File

@@ -411,7 +411,9 @@ build_locations(){
#
# pass PHP scripts to FastCGI server listening on unix:/var/run/php-fpm.sock
#
location ~ \.php$ {
location ~ ^(.+\.php)(.*)$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
#