File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
329329 proxy_cache $cache ;
330330 # But we store the result with the cache key of the original request URI
331331 # so that future clients don't need to follow the redirect too
332- proxy_cache_key $cache_key$slice_range ;
333- add_header X-Docker-Registry-Proxy-Cache-Key-Status "$cache_key$slice_range " ;
332+ proxy_cache_key $cache_key ;
333+ add_header X-Docker-Registry-Proxy-Cache-Key-Status "$cache_key" ;
334334 }
335335
336336 # Don't send Authorization to /v2/ to trigger WWW-Authenticate; don't cache these
Original file line number Diff line number Diff line change 33 add_header X-Docker-Registry-Proxy-Cache-Type "$docker_proxy_request_type";
44 proxy_pass https://$targetHost;
55 proxy_cache $cache;
6- slice 4m;
7- proxy_cache_key $cache_key$slice_range;
8- proxy_set_header Range $slice_range;
9- add_header X-Docker-Registry-Proxy-Cache-Key-Status "$cache_key$slice_range";
6+ proxy_cache_key $cache_key;
7+ add_header X-Docker-Registry-Proxy-Cache-Key-Status "$cache_key";
108 proxy_http_version 1.1;
119 proxy_intercept_errors on;
1210 error_page 301 302 307 = @handle_redirects;
You can’t perform that action at this time.
0 commit comments