Browse Source

nginx config default should use the error.fifo

susefix
Robert Fairburn 10 years ago
parent
commit
4e231126e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/templates/config.jinja

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

worker_rlimit_nofile {{ worker_rlimit_nofile }}; worker_rlimit_nofile {{ worker_rlimit_nofile }};
{% endif -%} {% 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') -%} {% set error_log_level = nginx.get('error_log',{}).get('level', 'warn') -%}
error_log {{ ' '.join([error_log_location, error_log_level]) }}; error_log {{ ' '.join([error_log_location, error_log_level]) }};
pid {{ nginx.get('pid', '/var/run/nginx.pid') }}; pid {{ nginx.get('pid', '/var/run/nginx.pid') }};

Loading…
Cancel
Save