Drop traefik from default entry points.

This commit is contained in:
Ludovic Fernandez
2020-03-16 16:54:04 +01:00
committed by GitHub
parent 5adf74e6ce
commit af58faafae
4 changed files with 10 additions and 12 deletions

View File

@@ -200,7 +200,7 @@ func setupServer(staticConfiguration *static.Configuration) (*server.Server, err
log.WithoutContext().Errorf("Invalid protocol: %v", err)
}
if protocol != "udp" {
if protocol != "udp" && name != static.DefaultInternalEntryPointName {
defaultEntryPoints = append(defaultEntryPoints, name)
}
}