Sfoglia il codice sorgente

nginx config default should use the error.fifo

susefix
Robert Fairburn 10 anni fa
parent
commit
4e231126e2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      nginx/templates/config.jinja

+ 1
- 1
nginx/templates/config.jinja Vedi File

@@ -9,7 +9,7 @@ worker_processes {{ nginx.get('worker_processes', 1) }};
worker_rlimit_nofile {{ worker_rlimit_nofile }};
{% endif -%}

{% set error_log_location = nginx.get('error_log',{}).get('location', '/var/log/nginx/error.log') -%}
{% set error_log_location = nginx.get('error_log',{}).get('location', '/var/log/nginx/error.fifo') -%}
{% set error_log_level = nginx.get('error_log',{}).get('level', 'warn') -%}
error_log {{ ' '.join([error_log_location, error_log_level]) }};
pid {{ nginx.get('pid', '/var/run/nginx.pid') }};

Loading…
Annulla
Salva