Normalize backend even if is user-defined (#865)
Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
This commit is contained in:
parent
a8cb905255
commit
2bf9acd95e
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ func (provider *Docker) getFrontendRule(container dockerData) string {
|
|||
|
||||
func (provider *Docker) getBackend(container dockerData) string {
|
||||
if label, err := getLabel(container, "traefik.backend"); err == nil {
|
||||
return label
|
||||
return normalize(label)
|
||||
}
|
||||
return normalize(container.Name)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue