Skip to content

Commit d713eed

Browse files
authored
Fix nginx config for api.php/ (with trailing slash)
1 parent d6d9709 commit d713eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ server {
877877
}
878878
879879
location ~ [^/]\.php(/|$) {
880-
fastcgi_split_path_info ^(.+\.php)(/.+)$;
880+
fastcgi_split_path_info ^(.+\.php)(/.*)$;
881881
try_files $fastcgi_script_name =404;
882882
set $path_info $fastcgi_path_info;
883883
fastcgi_param PATH_INFO $path_info;

0 commit comments

Comments
 (0)