Use consul http port in traefik

This commit is contained in:
IamTheFij 2022-04-15 12:25:15 -07:00
parent aeb662d799
commit fc583abace

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