Reading from Docker and Swarm
This commit is contained in:
parent
b196905320
commit
b7ec691e8f
7 changed files with 63 additions and 14 deletions
|
|
@ -63,6 +63,6 @@ backend srv_{{ host }}
|
|||
option forwardfor
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request add-header X-Forwarded-Proto https if { ssl_fc }
|
||||
server srv {{ k }} check weight 1
|
||||
server srv {{ o["hosts"][k] }} check weight 1
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue