Nginx HTTP Server by Nedelcu Clement

Nginx HTTP Server by Nedelcu Clement

Author:Nedelcu, Clement
Language: eng
Format: epub
Publisher: Packt Publishing


The burst parameter defines the maximum possible bursts of requests—when the amount of requests received from a client exceeds the limit defined in the zone, the responses are delayed in a manner that respects the rate that you defined. To a certain extent, only a maximum of burst requests will be accepted simultaneously. Past this limit, Nginx returns a 503 Service Unavailable HTTP error response.

limit_req_zone $binary_remote_addr zone=myzone:10m rate=2r/s; […] location /downloads/ { limit_req zone=myzone burst=10; }



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.