From 4cff0f474f85c8a6cde4f86efe1c883bb0a2fd47 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 16 Feb 2021 12:00:09 +0100 Subject: [PATCH] Update to 2021-02-16 12:00 --- roles/nginx/defaults/main.yml | 2 +- roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nginx/defaults/main.yml b/roles/nginx/defaults/main.yml index 78a680b..9d07933 100644 --- a/roles/nginx/defaults/main.yml +++ b/roles/nginx/defaults/main.yml @@ -97,7 +97,7 @@ nginx_ssl_protocols: nginx_dos_whitelisted_ip: [] # Max number of request per second, per IP address for non whitelisted IP -nginx_req_per_sec: 25 +nginx_req_per_sec: 30 # Max size of the cache on disk nginx_cache_size: 2g diff --git a/roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2 b/roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2 index e792bec..c7a30bd 100644 --- a/roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2 +++ b/roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2 @@ -117,7 +117,7 @@ server { {% endif %} {% if vhost.limits %} - limit_req zone=limit_req_std burst=100 nodelay; + limit_req zone=limit_req_std burst=200 nodelay; limit_conn limit_conn_std 80; {% endif %}