限制每个IP一个线程,每个线程200K/s限制;
http { limit_zone one $binary_remote_addr 10m; server { location /upload/ { limit_conn one 1; limit_rate 200k; } } }
限制每个IP一个线程,每个线程200K/s限制;
http { limit_zone one $binary_remote_addr 10m; server { location /upload/ { limit_conn one 1; limit_rate 200k; } } }