Fixes #171: Log format gets strange newline in Ansible 2.7.
This commit is contained in:
parent
67c8be8106
commit
638047eff0
|
@ -130,7 +130,7 @@ Extra lines to be inserted in the top of `nginx.conf`. The value should be defin
|
|||
|
||||
See the template in `templates/nginx.conf.j2` for more details on the placement.
|
||||
|
||||
nginx_log_format: |
|
||||
nginx_log_format: |-
|
||||
'$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"'
|
||||
|
|
|
@ -81,7 +81,7 @@ nginx_upstreams: []
|
|||
# "srv3.example.com"
|
||||
# }
|
||||
|
||||
nginx_log_format: |
|
||||
nginx_log_format: |-
|
||||
'$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"'
|
||||
|
|
Loading…
Reference in New Issue