router change
This commit is contained in:
parent
31172dee69
commit
847bd0e41e
@ -146,6 +146,7 @@ func (s *Service) getTags() []string {
|
||||
"traefik.http.routers." + s.Name + ".middlewares=compress,requestid",
|
||||
"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",
|
||||
"traefik.http.middlewares.compress.compress=true",
|
||||
"traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID",
|
||||
// "traefik.http.middlewares.cors.headers.accesscontrolallowmethods=*",
|
||||
@ -155,7 +156,6 @@ func (s *Service) getTags() []string {
|
||||
// "traefik.http.middlewares.cors.headers.addvaryheader=true",
|
||||
"traefik.tls.certificates.certfile=/certs/client.cert",
|
||||
"traefik.tls.certificates.keyfile=/certs/client.key",
|
||||
// "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false",
|
||||
// "traefik.http.services." + s.Name + ".loadbalancer.servers." + fullName + "=" + bFullAddr,
|
||||
// "traefik.http.services." + s.Name + ".loadbalancer.servers." + fullName + ".url=" + bFullAddr,
|
||||
// "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.path=/health",
|
||||
|
Loading…
Reference in New Issue
Block a user