Page MenuHomeDevCentral

D1317.id3381.diff
No OneTemporary

D1317.id3381.diff

diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
--- a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
+++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
@@ -42,6 +42,11 @@
location = /servers-log/all.json {
include includes/cors-open;
+
+ # As a real time log, we don't want this file to be cached.
+ add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
+ expires off;
+
alias /srv/api/data/servers-log-all.json;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 00:19 (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2232296
Default Alt Text
D1317.id3381.diff (645 B)

Event Timeline