decrease cache time
This commit is contained in:
parent
c050948d23
commit
06d0466a1c
|
@ -132,7 +132,7 @@ server {
|
||||||
include /etc/nginx/conf.d/include/proxy-cache-downloads;
|
include /etc/nginx/conf.d/include/proxy-cache-downloads;
|
||||||
|
|
||||||
limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time
|
limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time
|
||||||
add_header Cache-Control "public, max-age=86400"; # allow consumer to cache response
|
add_header Cache-Control "public, max-age=300"; # allow consumer to cache response just for 5 minutes
|
||||||
|
|
||||||
set $skylink '';
|
set $skylink '';
|
||||||
set $skylink_path '';
|
set $skylink_path '';
|
||||||
|
|
Reference in New Issue