From 8c731b54222c90ca44c26ff06133226529a3a409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 7 Mar 2024 23:37:53 +0100 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 ee0b8b4..e5b92ea 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,7 +9,8 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 100M; - try_files $uri $uri/ index.php; + try_files $uri $uri/ /index.php?it=$uri&$args; + location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;