diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index eee08c0d..d5127539 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -105,7 +105,7 @@ server { } location ~ "^/([a-zA-Z0-9-_]{46}(/.*)?)$" { - limit_conn downloads_by_ip 10; # ddos protection: max 10 downloads at a time + limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time # 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 @@ -127,7 +127,7 @@ server { } location ~ "^/file/([a-zA-Z0-9-_]{46}(/.*)?)$" { - limit_conn downloads_by_ip 10; # ddos protection: max 10 downloads at a time + limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time # 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