-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker segment labels and defining the backend name #3351
Comments
Thanks for your interest in Træfik! In fact, the previous behavior was a bug (see #3317). Before 1.6.1: Since 1.6.1: |
So it is no longer possible to have multiple frontends for the same named backed as well? Because that is the issue, that I'm having. |
Yes, it's no longer possible to have multiple frontends for one backend. The expected behavior for segment: one frontend and one backend for each segment. Note that multiple frontends for one backend doesn't really work because some frontend configuration are ignored when using the same backend. |
Thanks for the info, I will update my configurations then for this new situation. |
For memory, now it's possible to have multiple frontends for one backend, see #3511. |
Do you want to request a feature or report a bug?
Bug
What did you do?
I'm using segment labels for multiple frontends for the same backend. I'm not using it for different ports, but I think that doesn't matter.
Prior to 1.6 this used to work, as a workaround it seems I can create a backend per frontend, so it generates multiple frontends.
And then i saw something as I remembered just reading this:
I then removed backend totally and now I have multiple frontends and one auto-generated name for the backend.
What did you expect to see?
Multiple frontends
What did you see instead?
Single frontend, which is looping through the frontend rules.
Output of
traefik version
: (What version of Traefik are you using?)1.6.1
What is your environment & configuration (arguments, toml, provider, platform, ...)?
The text was updated successfully, but these errors were encountered: