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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)
}
}