Skip to content

Commit 1f08ba6

Browse files
authored
Remove proxy cache key override to include proto
1 parent 5c384fa commit 1f08ba6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nginx/optional.d/proxy-cache.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ proxy_cache_valid 501 1m;
1717
proxy_cache_valid 502 1m;
1818
proxy_cache_valid 503 1m;
1919

20-
# Set proxy_cache_key to override default 'proxy_cache_key $scheme$proxy_host$uri$is_args$args;'
21-
# as we don't care about the "scheme" (http or https are the same, just SSL is different)
22-
proxy_cache_key $proxy_host$uri$is_args$args;
23-
2420
# This should serve the cache files if upstream is down
2521
# - Note: 'updating' required with proxy_cache_background_update
2622
proxy_cache_use_stale updating error timeout invalid_header http_500 http_502 http_503 http_504;

0 commit comments

Comments
 (0)