Limit downloads to 5 per IP.
This commit is contained in:
parent
1e16caeaeb
commit
26831e7a3e
|
@ -9,7 +9,7 @@ if ($request_method = PURGE) {
|
||||||
return 462;
|
return 462;
|
||||||
}
|
}
|
||||||
|
|
||||||
limit_conn downloads_by_ip 10; # ddos protection: max 100 downloads at a time
|
limit_conn downloads_by_ip 5; # ddos protection: max 100 downloads at a time
|
||||||
|
|
||||||
# ensure that skylink that we pass around is base64 encoded (transform base32 encoded ones)
|
# ensure that skylink that we pass around is base64 encoded (transform base32 encoded ones)
|
||||||
# this is important because we want only one format in cache keys and logs
|
# this is important because we want only one format in cache keys and logs
|
||||||
|
|
Reference in New Issue