Skip to content

Commit

Permalink
added additional cache control headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-aschlackman committed Feb 19, 2024
1 parent c0643cb commit b1d7e20
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ server {


location / {
try_files $uri @index;
try_files $uri @index;
}

location @index {
add_header Cache-Control no-cache;
expires 0;
try_files /index.html =404;
add_header Cache-Control public;
add_header Cache-Control no-store;
add_header Cache-Control no-cache;
expires 0;
try_files /index.html =404;
}
}

0 comments on commit b1d7e20

Please sign in to comment.