Use consul http port in traefik
This commit is contained in:
parent
aeb662d799
commit
fc583abace
@ -162,7 +162,8 @@ job "traefik" {
|
||||
[http.services.consul.loadBalancer]
|
||||
<< range . ->>
|
||||
[[http.services.consul.loadBalancer.servers]]
|
||||
url = "http://<< .Address >>:<< .Port >>"
|
||||
# Not using .Port because that's an RPC port
|
||||
url = "http://<< .Address >>:8500"
|
||||
<< end >>
|
||||
<<- end >>
|
||||
<< with service "vault" ->>
|
||||
|
Loading…
Reference in New Issue
Block a user