Commit 09896e8c authored by nanahira's avatar nanahira

support 206 proxy cache

parent 5eba5882
Pipeline #39155 passed with stages
in 47 minutes and 29 seconds
...@@ -102,7 +102,8 @@ http { ...@@ -102,7 +102,8 @@ http {
proxy_cache_revalidate on; proxy_cache_revalidate on;
proxy_cache_background_update on; proxy_cache_background_update on;
proxy_cache_lock on; proxy_cache_lock on;
proxy_cache_key $scheme://$host$request_uri; proxy_cache_valid 200 206 10m;
proxy_cache_key $scheme://$host$request_uri$http_range;
proxy_cache_lock_timeout 0s; proxy_cache_lock_timeout 0s;
proxy_cache_lock_age 600s; proxy_cache_lock_age 600s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment