From 05d223ca39cc588bb5f689176893fb24f7781ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 19 May 2023 15:06:49 +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 3a4b77a..8b4b9b1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,8 @@ location __PATH__/ { index index.php; - 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;