diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index bd7bedc1..39733062 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -176,7 +176,7 @@ server { include /etc/nginx/conf.d/include/cors; limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time - add_header Cache-Control "public, max-age=31536000, immutable"; # allow consumer to cache response + add_header Cache-Control "public, max-age=86400"; # allow consumer to cache response # we need to explicitly use set directive here because $1 will contain the skylink with # decoded whitespaces and set will re-encode it for us before passing it to proxy_pass @@ -204,7 +204,7 @@ server { include /etc/nginx/conf.d/include/cors; limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time - add_header Cache-Control "public, max-age=31536000, immutable"; # allow consumer to cache response + add_header Cache-Control "public, max-age=86400"; # allow consumer to cache response # we need to explicitly use set directive here because $1 will contain the skylink with # decoded whitespaces and set will re-encode it for us before passing it to proxy_pass