Fix documented example value for nginx_upstreams.servers

This converts the example value of nginx_upstreams.servers to a simple list of backends instead of using the unusual object syntax.
pull/205/head
Michael Lynch 4 years ago
parent 9ae8584281
commit 2fde446202
  1. 9
      defaults/main.yml

@ -78,11 +78,10 @@ nginx_upstreams: []
# - name: myapp1 # - name: myapp1
# strategy: "ip_hash" # "least_conn", etc. # strategy: "ip_hash" # "least_conn", etc.
# keepalive: 16 # optional # keepalive: 16 # optional
# servers: { # servers:
# "srv1.example.com", # - "srv1.example.com"
# "srv2.example.com weight=3", # - "srv2.example.com weight=3"
# "srv3.example.com" # - "srv3.example.com"
# }
nginx_log_format: |- nginx_log_format: |-
'$remote_addr - $remote_user [$time_local] "$request" ' '$remote_addr - $remote_user [$time_local] "$request" '