Be taught to Restrict Obtain Velocity Per IP on NginX simply. Now you can throttle Velocity / Bandwidth on IP Stage in Nginx regardless variety of connections/requests.
Restrict Obtain Velocity Per IP on NginX – Overview
Beforehand our devoted servers had been on Apache. We had CBand module on Apache which was capable of restrict customers obtain pace on IP degree. However after Migration to NginX internet server, we had been seeking various of CBand for Nginx. Initially we couldn’t discover a option to throttle pace on IP foundation. As a result of the nginx default Restrict fee couldn’t server the aim. it solely had two choices. Both we might restrict connections which an IP make. Or we might restrict every connection pace.
We all know at the moment obtain supervisor make a number of connections whereas downloading a file. So even when we limit variety of connection that will influence person’s downloads. So we needed to discover a option to restrict total obtain pace of recordsdata from Nginx regardless on variety of connections. Our points had been solved as soon as we got here to a Nginx module written By Simon Lee on GitHub which might simply do that magic.