From c9672b0f1d3943c65b8fcb6816f5f5225ee28483 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 28 Jan 2021 18:16:42 +0100 Subject: [PATCH] do not add cache status on this request --- docker/nginx/conf.d/client.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 1d695c57..ca3fc9ce 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -262,7 +262,6 @@ server { proxy_cache_valid 200 30s; # cache only 200 responses and only for 30 seconds proxy_cache_lock on; # queue cache requests for the same resource until it is fully cached proxy_cache_bypass $cookie_nocache $arg_nocache; # add cache bypass option - add_header X-Proxy-Cache $upstream_cache_status; # add response header to indicate cache hits and misses proxy_pass http://127.0.0.1/skynet/registry$is_args$args; }