frontend: copy settings.json on settings reload (to handle delayed settings propagation)
This commit is contained in:
parent
4820d42327
commit
caea02bb4d
6 changed files with 29 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue