You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Nginx::Resource::Location[.....]: parameter 'limit_zone' expects a value of type Undef or String, got Tuple (file: /usr/local/etc/puppet/modules/nginx/manifests/resource/server.pp, line: 637) on node ......
What behaviour did you expect instead
Multiple limit_req statements in resulting nginx configuration
There could be several limit_req directives. For example, the following configuration will limit the processing rate of requests coming from a single IP address and, at the same time, the request processing rate by the virtual server:
limit_req_zone $binary_remote_addr zone=perip:10m rate=1r/s;
limit_req_zone $server_name zone=perserver:10m rate=10r/s;
server {
...
limit_req zone=perip burst=5 nodelay;
limit_req zone=perserver burst=10;
}
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Multiple
limit_req
statements in resulting nginx configurationAny additional information you'd like to impart
From https://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req:
The text was updated successfully, but these errors were encountered: