Skip to content

Commit

Permalink
Remove proxy cache key override to include proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuncle authored Apr 17, 2021
1 parent 5c384fa commit 1f08ba6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nginx/optional.d/proxy-cache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ proxy_cache_valid 501 1m;
proxy_cache_valid 502 1m;
proxy_cache_valid 503 1m;

# Set proxy_cache_key to override default 'proxy_cache_key $scheme$proxy_host$uri$is_args$args;'
# as we don't care about the "scheme" (http or https are the same, just SSL is different)
proxy_cache_key $proxy_host$uri$is_args$args;

# This should serve the cache files if upstream is down
# - Note: 'updating' required with proxy_cache_background_update
proxy_cache_use_stale updating error timeout invalid_header http_500 http_502 http_503 http_504;
Expand Down

0 comments on commit 1f08ba6

Please sign in to comment.