Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864694
D11592.id33905.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
571 B
Subscribers
None
D11592.id33905.diff
View Options
diff --git a/web/cashtab/nginx.conf b/web/cashtab/nginx.conf
--- a/web/cashtab/nginx.conf
+++ b/web/cashtab/nginx.conf
@@ -32,10 +32,15 @@
location / {
root /usr/share/nginx/html;
index index.html index.htm;
+ location ~ index\.html$ {
+ add_header Cache-Control "max-age=0, no-cache, no-store, must-revalidate";
+ add_header Pragma "no-cache";
+ }
try_files $uri $uri/ /index.html;
}
+
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 21:39 (18 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864540
Default Alt Text
D11592.id33905.diff (571 B)
Attached To
D11592: [Cashtab] Prevent caching of index.html
Event Timeline
Log In to Comment