From 66895c75ee0c4a1d01d2699e43e8eaf83d2ffb78 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Aug 2023 15:40:28 +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 1092bfa..8fe3159 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,8 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 50M; - try_files $uri $uri/ 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;