do not add cache status on this request
This commit is contained in:
parent
783cff28e6
commit
c9672b0f1d
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue