diff --git a/nginx.conf b/nginx.conf index e9bd6034c..4db19d130 100644 --- a/nginx.conf +++ b/nginx.conf @@ -106,6 +106,7 @@ http { ~*^vi vi; ~*^zh zh; ~*^hi hi; + ~*^lt lt; } map $cookie_lang $lang { @@ -141,6 +142,7 @@ http { ~*^vi vi; ~*^zh zh; ~*^hi hi; + ~*^lt lt; } server { diff --git a/production/nginx/http-language.conf b/production/nginx/http-language.conf index 11c3eff33..599ee5d74 100644 --- a/production/nginx/http-language.conf +++ b/production/nginx/http-language.conf @@ -31,6 +31,7 @@ map $http_accept_language $header_lang { ~*^uk uk; ~*^vi vi; ~*^zh zh; + ~*^lt lt; } map $cookie_lang $lang { default $header_lang; @@ -65,4 +66,5 @@ map $cookie_lang $lang { ~*^uk uk; ~*^vi vi; ~*^zh zh; + ~*^lt lt; }