Fix bypass.

This commit is contained in:
Ivaylo Novakov 2022-03-14 18:50:24 +01:00
parent 803638bec5
commit 40b5d41f9d
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ add_header X-Proxy-Cache $upstream_cache_status; # add response header to indica
# bypass - this will bypass cache hit on request (status BYPASS)
# but still stores file in cache if cache conditions are met
proxy_cache_bypass $cookie_nocache $arg_nocache $skyd_disk_cache_enabled;
proxy_cache_bypass $cookie_nocache $arg_nocache "1";
# no cache - this will ignore cache on request (status MISS)
# and does not store file in cache under no condition