From 951da6635ba340db1e39ea5965028b8dd8f54fe8 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Fri, 4 Mar 2022 00:25:43 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 4b41811..ec1c56b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,13 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; + rewrite ^(.*)$ $1?lang=__LANGUAGE__ break; ### Example PHP configuration (remove it if not used) # index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file #client_max_body_size 50M; - -rewrite ^(.*)$ $1?lang=__LANGUAGE__ break; try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) {