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