Updating nginx to support lithuanian

This commit is contained in:
softsimon 2022-12-26 22:44:21 +04:00
parent 8ccfa5b038
commit fbbd86d8e0
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 4 additions and 0 deletions

View File

@ -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 {

View File

@ -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;
}