Skip to content

Commit

Permalink
add default stale off
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulPickhardt committed Sep 12, 2024
1 parent 1b55913 commit d5eebf3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
32 changes: 0 additions & 32 deletions nginx.conf

This file was deleted.

3 changes: 1 addition & 2 deletions templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ server {
proxy_cache_valid 200 302 ${SUCCESS_STORE_TIME}; # Cache successful responses and found content for X minutes
proxy_cache_valid 404 ${NOT_FOUND_STORE_TIME}; # Cache 404 errors for X minutes
proxy_cache_valid any 1m; # To cache everything else for 1 minute


proxy_cache_use_stale off;

proxy_pass ${HOST_URL};

Expand Down

0 comments on commit d5eebf3

Please sign in to comment.