Distribute and handle challenge.json

This commit is contained in:
nemunaire 2022-05-01 22:33:59 +02:00
commit dff4f4eb63
20 changed files with 167 additions and 48 deletions

View file

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

View file

@ -146,6 +146,12 @@ server {
expires epoch;
add_header Cache-Control no-cache;
}
location /challenge.json {
root ${PATH_SETTINGS}/;
expires epoch;
add_header X-FIC-time $msec;
add_header Cache-Control no-cache;
}
location /settings.json {
root ${PATH_SETTINGS}/;
expires epoch;

View file

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