Skip to content

Commit

Permalink
fix: cache issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Eidenz committed Jun 25, 2024
1 parent 4a86423 commit bef65c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ server {
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;

add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, max-age=0' always;
add_header 'Pragma' 'no-cache' always;
add_header 'Expires' '0' always;

location / {
root /usr/share/nginx/html;
index index.html;
Expand Down

0 comments on commit bef65c2

Please sign in to comment.