From 7df59dcf2afd2cc7eec3bea6aac68f1a2d2beae7 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 1 Dec 2022 10:42:11 +0100 Subject: [PATCH] register fix --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index acc63b8..2519eab 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -121,7 +121,7 @@ func (s *Service) getTags() []string { // "traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http", // "traefik.http.services." + s.Name + ".loadbalancer.server.port=" + port, "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false", - "traefik.http.services." + s.Name + ".loadbalancer.servers." + fullName + "=" + bFullAddr, + "traefik.http.services." + s.Name + ".loadbalancer.server.url=" + bFullAddr, "traefik.http.middlewares.compress.compress=true", "traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID", // "traefik.http.services." + fullName + ".loadbalancer.healthcheck.path=/health",