frontend: copy settings.json on settings reload (to handle delayed settings propagation)

This commit is contained in:
nemunaire 2020-01-23 13:06:39 +01:00
commit caea02bb4d
6 changed files with 29 additions and 4 deletions

View file

@ -157,7 +157,7 @@ server {
add_header Cache-Control no-cache;
}
location = /settings.json {
root /srv/SETTINGS/;
root /srv/SETTINGSDIST/;
expires epoch;
add_header X-FIC-time $msec;
add_header Cache-Control no-cache;

View file

@ -149,7 +149,7 @@ server {
add_header Cache-Control no-cache;
}
location = /settings.json {
root /srv/SETTINGS/;
root /srv/SETTINGSDIST/;
expires epoch;
add_header X-FIC-time $msec;
add_header Cache-Control no-cache;