Use consul http port in traefik
This commit is contained in:
parent
ba1b5166b9
commit
2ed2079b45
@ -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