I am using NGINX and i want to control the number of connections and the bandwidth for each user . This is what offers NGINX for this
limit_rate 150k;
where 150k is some value for limit rate, i want this limit_rate to be variable but this directive accpet only values.
The second part of my question is how to test the bandwidth excess. Are they any tools to target the server with requests until exceeding bandwidth