Page 1 of 1

[RESOLVED] Bandwidth limitation

Published: October 13, 2023 - 1:24 PM
by tux
Good morning,

I am using version 2.4 of wapt enterprise installed on Debian.
Windows client

At the nginx level, I want to limit the speed at which clients download packages and Windows updates. However, I don't want this to limit the speed during OS deployment.

In the configuration file /etc/nginx/sites-enabled/wapt.conf, on which location should I implement the limitation?
On the next rental?

Code: Select all

location /wads {
    limite_rate xxx;
}

Thank you in advance for your help.

Re: Bandwidth limitation

Published: October 20, 2023 - 4:26 PM
by tux
Hello,

I've resolved my issue.
For those interested, I've added "limite_rate XXXX;" to the existing locations.

Re: Bandwidth limitation

Published: October 23, 2023 - 11:11 AM
by dcardon
Hi Sébastien,

yes, a `limit_rate` can indeed do the trick, but you have to be careful not to have a `rate limit` in the sections used to control the console, otherwise it might cause lag when there are a lot of downloads.
To balance downloads, the best solution is always to add secondary repositories. It's even possible to add them for the main site if it's a real problem on your WAPT server.

Regards,

Denis