mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 21:32:55 +01:00
Updating nginx to support lithuanian
This commit is contained in:
parent
8ccfa5b038
commit
fbbd86d8e0
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user