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