fix logging settings

This commit is contained in:
Robert Kaussow 2018-08-11 15:27:27 +02:00
parent 601b0fa5eb
commit 01c59caf12
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ nginx_error_log:
nginx_access_log:
enabled: True
file: /var/log/nginx/access.log
level: info
format: main
## nginx buffer sizes
nginx_client_body_buffer_size: 10k

View File

@ -22,7 +22,7 @@ http {
error_log off;
{% endif %}
{% if nginx_access_log.enabled %}
access_log {{ nginx_access_log.file }} {{ nginx_access_log.level }};
access_log {{ nginx_access_log.file }} {{ nginx_access_log.format }};
{% else %}
access_log off;
{% endif %}