From 4e4d436e7ada24981c11dfc955de6397505e4a93 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 6 Dec 2022 02:19:04 +0100 Subject: [PATCH] disable tls --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index bd166e5..12f42ea 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -140,7 +140,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",