fix logging settings
This commit is contained in:
parent
601b0fa5eb
commit
01c59caf12
@ -11,7 +11,7 @@ nginx_error_log:
|
|||||||
nginx_access_log:
|
nginx_access_log:
|
||||||
enabled: True
|
enabled: True
|
||||||
file: /var/log/nginx/access.log
|
file: /var/log/nginx/access.log
|
||||||
level: info
|
format: main
|
||||||
|
|
||||||
## nginx buffer sizes
|
## nginx buffer sizes
|
||||||
nginx_client_body_buffer_size: 10k
|
nginx_client_body_buffer_size: 10k
|
||||||
|
@ -22,7 +22,7 @@ http {
|
|||||||
error_log off;
|
error_log off;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if nginx_access_log.enabled %}
|
{% 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 %}
|
{% else %}
|
||||||
access_log off;
|
access_log off;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user