From f2556498abed3e62356f04d892c72cfe6376fb7a Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Thu, 3 Mar 2022 23:45:22 +0100 Subject: [PATCH] Adding set #args to php location --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index d38fba3..8cb64c3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,6 +22,7 @@ location ~ [^/]\.php(/|$) { fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; + set $args $args&lang=__LANGUAGE__; } ### End of PHP configuration part