manifest caching: drop from 1s to 0s (expire immediately), so we can hit ratelimit faster (#54)

- mostly for sanity-checking purposes, last release in 0.4.x series.
- next release after this will make those configurable.
cache-manifests-tiers
Ricardo Pardini 2020-10-30 10:57:54 +01:00
parent 19ff1ccbcb
commit 411edf4c3f
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
proxy_cache_key $uri; proxy_cache_key $uri;
proxy_intercept_errors on; proxy_intercept_errors on;
proxy_cache_use_stale error timeout http_500 http_502 http_504 http_429; proxy_cache_use_stale error timeout http_500 http_502 http_504 http_429;
proxy_cache_valid 1s; proxy_cache_valid 0s;
error_page 301 302 307 = @handle_redirects; error_page 301 302 307 = @handle_redirects;
} }
@ -301,7 +301,7 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
proxy_cache_key $uri; proxy_cache_key $uri;
proxy_intercept_errors on; proxy_intercept_errors on;
proxy_cache_use_stale error timeout http_500 http_502 http_504 http_429; proxy_cache_use_stale error timeout http_500 http_502 http_504 http_429;
proxy_cache_valid 1s; proxy_cache_valid 0s;
error_page 301 302 307 = @handle_redirects; error_page 301 302 307 = @handle_redirects;
} }