From fc583abace31786617923cd3aa4c0869de275857 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 15 Apr 2022 12:25:15 -0700 Subject: [PATCH] Use consul http port in traefik --- traefik/traefik.nomad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/traefik/traefik.nomad b/traefik/traefik.nomad index 864255b..6038c27 100644 --- a/traefik/traefik.nomad +++ b/traefik/traefik.nomad @@ -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" ->>