Browse Source

Fixes #171: Log format gets strange newline in Ansible 2.7.

pull/172/head 2.6.1
Jeff Geerling 4 years ago
parent
commit
638047eff0
  1. 2
      README.md
  2. 2
      defaults/main.yml

2
README.md

@ -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"'

2
defaults/main.yml

@ -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"'