Skip to content

Commit

Permalink
added no-cache for settings.json and settings.env.json (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-aschlackman authored Apr 25, 2024
1 parent 32d78ac commit 2f186a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ server {
location / {
try_files $uri @index;
}

location ~ (settings.json|settings.env.json)$ {
add_header Cache-Control no-cache;
}

location @index {
add_header Cache-Control public;
Expand Down

0 comments on commit 2f186a9

Please sign in to comment.