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:
@@ -104,6 +104,7 @@ http {
|
||||
~*^nb nb;
|
||||
~*^pl pl;
|
||||
~*^pt pt;
|
||||
~*^ru ru;
|
||||
~*^sl sl;
|
||||
~*^fi fi;
|
||||
~*^sv sv;
|
||||
@@ -111,7 +112,7 @@ http {
|
||||
~*^uk uk;
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^ru ru;
|
||||
~*^hi hi;
|
||||
}
|
||||
|
||||
map $cookie_lang $lang {
|
||||
@@ -134,6 +135,7 @@ http {
|
||||
~*^nb nb;
|
||||
~*^pl pl;
|
||||
~*^pt pt;
|
||||
~*^ru ru;
|
||||
~*^sl sl;
|
||||
~*^fi fi;
|
||||
~*^sv sv;
|
||||
@@ -141,7 +143,7 @@ http {
|
||||
~*^uk uk;
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^ru ru;
|
||||
~*^hi hi;
|
||||
}
|
||||
|
||||
upstream electrs-mainnet {
|
||||
|
||||
Reference in New Issue
Block a user