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