fix logging settings
This commit is contained in:
parent
601b0fa5eb
commit
01c59caf12
@ -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
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user