Try to fix consul middleware provider
This commit is contained in:
parent
3285ee65da
commit
0f8eda40ad
@ -190,7 +190,7 @@ func (s *Service) getTags() []string {
|
||||
// "traefik.http.routers." + s.Name + ".tls=true",
|
||||
"traefik.http.routers." + s.Name + ".service=" + s.Name,
|
||||
// "traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + ",stripprefix_" + s.Name,
|
||||
"traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + ",requestid_" + s.Name + ",stripprefix_" + s.Name + "",
|
||||
"traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + "@consulcatalog,requestid_" + s.Name + "@consulcatalog,stripprefix_" + s.Name + "@consulcatalog",
|
||||
"traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http",
|
||||
"traefik.http.services." + s.Name + ".loadbalancer.server.port=" + strconv.Itoa(s.port),
|
||||
"traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false",
|
||||
|
Loading…
Reference in New Issue
Block a user