do not add cache status on this request

This commit is contained in:
Karol Wypchlo 2021-01-28 18:16:42 +01:00
parent 783cff28e6
commit c9672b0f1d
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}