Open limit connections But it seems to have no effect.
May I ask which step went wrong?
web.conf
# these locations would be hidden by .htaccess normally
location /logs/ {
deny all;
}
location /freeuse/ {
# limit upload/download speed to 50k
limit_rate 10240k;
# limit connections from the same IP address to 1
limit_conn addr 1;
}
nginx.conf
http
{
limit_conn_zone $binary_remote_addr zone=addr:10m;
May I ask which step went wrong?
web.conf
# these locations would be hidden by .htaccess normally
location /logs/ {
deny all;
}
location /freeuse/ {
# limit upload/download speed to 50k
limit_rate 10240k;
# limit connections from the same IP address to 1
limit_conn addr 1;
}
nginx.conf
http
{
limit_conn_zone $binary_remote_addr zone=addr:10m;
Attachments
-
19.8 KB Views: 31