Use consul http port in traefik

This commit is contained in:
IamTheFij 2022-04-15 12:25:15 -07:00
parent ba1b5166b9
commit 2ed2079b45

View File

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