diff --git a/conf/nginx.conf b/conf/nginx.conf index 4a8cbd0..8a64153 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,7 +13,8 @@ location __PATH__/ { client_max_body_size 1G; - try_files $uri $uri/ index.php; + try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; + location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;