Sfoglia il codice sorgente

add support for worker_rlimit_nofile

susefix
Kent Shultz 10 anni fa
parent
commit
928882e401
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      nginx/templates/config.jinja

+ 4
- 0
nginx/templates/config.jinja Vedi File

@@ -3,6 +3,10 @@
{% set group = nginx.get('group', 'www-data') -%}
user {{ user }} {{ group }};
worker_processes {{ nginx.get('worker_processes', 1) }};
{% set worker_rlimit_nofile = nginx.get('worker_rlimit_nofile', '') %}
{% if worker_rlimit_nofile %}
worker_rlimit_nofile {{ worker_rlimit_nofile }};
{% endif %}

error_log /var/log/nginx/error.fifo warn;
pid {{ nginx.get('pid', '/var/run/nginx.pid') }};

Loading…
Annulla
Salva