From 06d0466a1c7faeb5795c7897fdbe7bab2c9f6f14 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 15 Sep 2020 17:27:44 +0200 Subject: [PATCH] decrease cache time --- docker/nginx/conf.d/client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 06ae4ffa..195abb7d 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -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 '';