Use upstream's regexp

This commit is contained in:
Florent Daigniere
2025-08-16 14:32:38 +02:00
parent 5d62ea0617
commit 4a73383251

View File

@@ -37,7 +37,7 @@ server {
}
location ~ ^(.+\.php)(.*)$ {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_split_path_info ^(.+\.php)(.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}