mirror of
https://github.com/unraid/webgui.git
synced 2026-03-20 20:02:44 -05:00
Merge pull request #1852 from dkaser/tailscale-nginx
Add fastcgi_path_info to default nginx configuration
This commit is contained in:
@@ -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;
|
||||
}
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user