mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
optimized proxy_cache_valid any
This commit is contained in:
@@ -19,7 +19,8 @@ location /
|
|||||||
# general caching
|
# general caching
|
||||||
proxy_cache cache;
|
proxy_cache cache;
|
||||||
proxy_cache_key $host$uri$is_args$args;
|
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;
|
expires 5m;
|
||||||
|
|
||||||
# cache media files
|
# cache media files
|
||||||
|
Reference in New Issue
Block a user