From 7c69590a1d1847d926f636fb3552ab02759b569a Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 4 Dec 2022 05:15:46 +0100 Subject: [PATCH] revert: disabled tls on backends --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 2d3a4b1..cefc50c 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -134,7 +134,7 @@ func (s *Service) getTags() []string { "traefik.enable=true", "traefik.http.routers." + s.Name + ".rule=Headers(`X-API-SERVICE`, `" + s.Name + "`)", "traefik.http.routers." + s.Name + ".entryPoints=https", - // "traefik.http.routers." + s.Name + ".tls=true", + "traefik.http.routers." + s.Name + ".tls=true", "traefik.http.routers." + s.Name + ".service=" + s.Name, "traefik.http.routers." + s.Name + ".middlewares=compress,requestid", "traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http",