Answer the question
In order to leave comments, you need to log in
How to limit speed in Nginx depending on server channel load?
I use the limit_rate directive. I would like to improve a little and get a regular expression like this:
if ($bandthwich_load) {
set $limit_rate 128k;
}
Tell me how to bind a condition to a high load on the channel (excluding simultaneous peaks)? Suppose, when loading a channel at 70Mbit / s, do we limit it to 256k? at 90Mbit/s - 128k...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question