Limit attachment/resource download speed in nginx

Sheratan

Well-known member
Is there any way to limit download for attachment or resource speed? I'm trying to put this in nginx.conf http block

Code:
client_max_body_size 70M;
    limit_rate 200k;
    limit_conn_zone $binary_remote_addr zone=addr:200k;
    limit_conn addr 28;

But I still got a full speed (more than 2MBps), not 200KBps.
 
Top Bottom