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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user