mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Update nginx configuration for cache settings and new locales
* Consolidates add_header statements into single top-level section * Updates locales to match frontend/src/app/app.constants.ts * Re-orders locales to match locale selector for easier checking
This commit is contained in:
parent
cb90b09a0e
commit
f2f5749769
4 changed files with 37 additions and 23 deletions
|
|
@ -93,6 +93,7 @@ http {
|
|||
~*^nb nb;
|
||||
~*^pl pl;
|
||||
~*^pt pt;
|
||||
~*^ru ru;
|
||||
~*^sl sl;
|
||||
~*^fi fi;
|
||||
~*^sv sv;
|
||||
|
|
@ -100,7 +101,7 @@ http {
|
|||
~*^uk uk;
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^ru ru;
|
||||
~*^hi hi;
|
||||
}
|
||||
|
||||
map $cookie_lang $lang {
|
||||
|
|
@ -123,6 +124,7 @@ http {
|
|||
~*^nb nb;
|
||||
~*^pl pl;
|
||||
~*^pt pt;
|
||||
~*^ru ru;
|
||||
~*^sl sl;
|
||||
~*^fi fi;
|
||||
~*^sv sv;
|
||||
|
|
@ -130,7 +132,7 @@ http {
|
|||
~*^uk uk;
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^ru ru;
|
||||
~*^hi hi;
|
||||
}
|
||||
|
||||
server {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue