decrease cache time

This commit is contained in:
Karol Wypchlo 2020-09-15 17:27:44 +02:00
parent c050948d23
commit 06d0466a1c
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ server {
include /etc/nginx/conf.d/include/proxy-cache-downloads;
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_path '';