From 718b2d13fa9065bfc13e7d0a959f502787e456b0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 17 Aug 2021 17:19:16 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;