Skip to content

Commit

Permalink
fix: remove caches explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinerDP authored May 27, 2024
1 parent c75cf7d commit d72a15f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ server {
index index.html;
root /usr/share/nginx/html;

gzip on;

location / {
try_files $uri $uri/ /index.html;

add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
add_header Pragma "no-cache";
expires off;
}
}

0 comments on commit d72a15f

Please sign in to comment.