Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3790991
D1317.id3380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
645 B
Referenced Files
None
Subscribers
None
D1317.id3380.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 07:56 (19 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2268420
Default Alt Text
D1317.id3380.diff (645 B)
Attached To
Mode
D1317: Don't cache real time JSON log
Attached
Detach File
Event Timeline
Log In to Comment