Page MenuHomePhabricator

D11592.id33905.diff
No OneTemporary

D11592.id33905.diff

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

Mime Type
text/plain
Expires
Tue, May 20, 21:39 (15 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864540
Default Alt Text
D11592.id33905.diff (571 B)

Event Timeline