Note
This feature is available starting from the MCP 2019.2.20 maintenance update. Before using the feature, follow the steps described in Apply maintenance updates.
If required, you can configure request limiting for custom locations. To do so,
add the limit
pillar in the location:some_location
section. The limits
configured for a location predetermine the limits configured for a site. The
following methods are supported:
get
, post
, and so on)Configuration sample:
nginx:
server:
site:
nginx_proxy_openstack_api_keystone:
location:
/some_location/:
limit:
enabled: true
methods:
ip:
enabled: True
get:
enabled: True
rate: 120r/s
burst: 600
size: 20m
nodelay: True
post:
enabled: True
rate: 50r/m
burst: 80