From ccb4181f9600c4328200da50272e53f052cd4caf Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Fri, 4 Mar 2022 00:54:39 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7407542..5e4daf4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,7 +4,7 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - return 301 __FINALPATH__/%23/?lang=__LANGUAGE__; + rewrite ^ __FINALPATH__$uri?lang=en permanent; ### Example PHP configuration (remove it if not used) # index index.php;