change expired time

This commit is contained in:
barnettZQG 2020-09-28 15:30:56 +08:00
parent 4d4a24c1c0
commit 49db1fb522

View File

@ -1,5 +1,5 @@
proxy_cache_path /data/nginx/cache keys_zone=resource-cache:1024m;
proxy_cache_path /data/nginx/cache keys_zone=resource-cache:1024m inactive=7d expired=7d;
log_format srcache_log '$remote_addr - $remote_user [$time_local] "$request" '
'"$status" $body_bytes_sent $request_time $bytes_sent $request_length '
'[$upstream_response_time] $upstream_addr $upstream_status $upstream_cache_status';