mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
optimized proxy_cache_valid any
This commit is contained in:
parent
7ea7fa292f
commit
1a5235be9b
@ -19,7 +19,8 @@ location /
|
||||
# general caching
|
||||
proxy_cache cache;
|
||||
proxy_cache_key $host$uri$is_args$args;
|
||||
proxy_cache_valid any 5m;
|
||||
proxy_cache_valid any 1m;
|
||||
proxy_cache_valid 200 301 302 5m;
|
||||
expires 5m;
|
||||
|
||||
# cache media files
|
||||
|
Loading…
Reference in New Issue
Block a user