Page MenuHomeDevCentral

D1317.diff
No OneTemporary

D1317.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 28, 04:43 (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2268420
Default Alt Text
D1317.diff (645 B)

Event Timeline