Update pathinfo.conf

This commit is contained in:
jd82k 2024-12-02 20:04:17 -08:00 committed by GitHub
parent 2438717c79
commit faffdaf535
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -5,4 +5,7 @@ if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
}
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
fastcgi_param PATH_INFO $path_info;
#修复http3不传HOST问题
fastcgi_param HTTP_HOST $host;