DEBUG change
This commit is contained in:
parent
cb5933ccf0
commit
ebb1eab10b
@ -142,7 +142,7 @@ func (s *Service) getTags() []string {
|
||||
tags := []string{
|
||||
"traefik.enable=true",
|
||||
// "traefik.http.routers." + s.Name + ".rule=Header(`X-API-SERVICE`, `" + s.Name + "`)",
|
||||
"traefik.http.routers." + s.Name + ".rule=PathPrefix(`{$s.pathPrefix}`)",
|
||||
"traefik.http.routers." + s.Name + ".rule=PathPrefix(`" + s.pathPrefix + "`)",
|
||||
"traefik.http.routers." + s.Name + ".entryPoints=https",
|
||||
"traefik.http.routers." + s.Name + ".tls=true",
|
||||
"traefik.http.routers." + s.Name + ".service=" + s.Name,
|
||||
@ -151,7 +151,7 @@ func (s *Service) getTags() []string {
|
||||
"traefik.http.services." + s.Name + ".loadbalancer.server.port=" + strconv.Itoa(s.port),
|
||||
"traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false",
|
||||
"traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID",
|
||||
"traefik.http.middlewares.stripPrefix.stripprefix.prefixes=`{$s.pathPrefix}`",
|
||||
"traefik.http.middlewares.stripPrefix.stripprefix.prefixes=" + s.pathPrefix,
|
||||
"traefik.http.middlewares.compress.compress=true",
|
||||
// "traefik.http.middlewares.cors.headers.accesscontrolallowmethods=*",
|
||||
// "traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=*",
|
||||
|
Loading…
Reference in New Issue
Block a user