The second instruction above indicates that the same IP address and access to the same URI will result in the restriction of entering the limit req (1 requests per second).
The use of Zone,burst and Nodelay is the same as in the Nginx limit req module.
The support switch is turned on by default. and a location supports multiple limit_req instructions, and when there are multiple limit_req instructions, the relationship between these instructions is or, that is, when any one of the restrictions is triggered, the corresponding limit_req is executed.
Forbid_action represents the action to be performed by Nginx when the condition is triggered, the name location and the page (/) are supported, and the default is to return 503. Like what:
Represents the whitelist, which works with the Geo module, where geo_var_name represents the variable name set by the Geo module and Geo_var_value represents the variable value set by the GEO module. Like what:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.