From 411edf4c3f3814838b6afa187aacad78fdf8c5ba Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Fri, 30 Oct 2020 10:57:54 +0100 Subject: [PATCH] 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. --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 489bc8c..11debcd 100644 --- a/nginx.conf +++ b/nginx.conf @@ -289,7 +289,7 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/" proxy_cache_key $uri; proxy_intercept_errors on; 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; } @@ -301,7 +301,7 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/" proxy_cache_key $uri; proxy_intercept_errors on; 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; }