From fbbd86d8e043fd0908a86fe595cfdc18609cd064 Mon Sep 17 00:00:00 2001 From: softsimon Date: Mon, 26 Dec 2022 22:44:21 +0400 Subject: [PATCH] Updating nginx to support lithuanian --- nginx.conf | 2 ++ production/nginx/http-language.conf | 2 ++ 2 files changed, 4 insertions(+) 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; }