Update to 2021-02-16 12:00

master
Daniel Berteaud 4 years ago
parent 41a1152f0f
commit 4cff0f474f
  1. 2
      roles/nginx/defaults/main.yml
  2. 2
      roles/nginx/templates/ansible_conf.d/30-vhosts.conf.j2

@ -97,7 +97,7 @@ nginx_ssl_protocols:
nginx_dos_whitelisted_ip: [] nginx_dos_whitelisted_ip: []
# Max number of request per second, per IP address for non 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 # Max size of the cache on disk
nginx_cache_size: 2g nginx_cache_size: 2g

@ -117,7 +117,7 @@ server {
{% endif %} {% endif %}
{% if vhost.limits %} {% 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; limit_conn limit_conn_std 80;
{% endif %} {% endif %}

Loading…
Cancel
Save