diff --git a/conf/nginx.conf b/conf/nginx.conf index 88118f1..22d77d6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -16,6 +16,9 @@ location {PATH}/ { # break; # } #  rewrite (.*) {LOCATION}/index.php$request_uri; + # + # But remember that if-is-evil : + # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#check-if-file-exists location ~ ^{PATH}/index\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;