From bc3cad7c87a4d4ca8589fb6285589114d2b3f212 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Thu, 3 Mar 2022 22:54:28 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 02f7067..d597b9d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,8 +10,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/%23/?lang=en; - location ~ [^/]\.php(/|$) { +try_files $uri $uri/ index.php; +location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;