Skip to content
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

Multiple routes support with Docker or Marathon labels #118

Closed
avthart opened this issue Nov 18, 2015 · 6 comments
Closed

Multiple routes support with Docker or Marathon labels #118

avthart opened this issue Nov 18, 2015 · 6 comments

Comments

@avthart
Copy link

avthart commented Nov 18, 2015

Is it possible to have multiple routes for a frontend when using Marathon or Docker labels?

For example:
I would like to define a frontend with two routes, e.g. Host and Path

@avthart
Copy link
Author

avthart commented Nov 18, 2015

Just found out that it is possible to define a frontend with multiple routes in Consul and Marathon labels for the registration of backends. That sounds like a working solution for us!

@xiaods
Copy link

xiaods commented Dec 30, 2015

@avthart how do you implementation?

@avthart
Copy link
Author

avthart commented Feb 20, 2016

@xiaods Unfortunately, you can not link a Consul Frontend to a Marathon Backend.

@joost-van-weenen
Copy link

What was the solution using labels? Can you just comma separate them?

@andreimc
Copy link

andreimc commented Oct 28, 2016

@joost-van-weenen :

"traefik.frontend.rule":"Host:au.example.com,nz.example.com,hk.example.com"

I have this in my label and they all work

@emilevauge
Copy link
Member

thanks @andreimc, closing this one.

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants