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

domain label doesn't work on docker #447

Closed
aacebedo opened this issue Jun 9, 2016 · 2 comments
Closed

domain label doesn't work on docker #447

aacebedo opened this issue Jun 9, 2016 · 2 comments

Comments

@aacebedo
Copy link

aacebedo commented Jun 9, 2016

Hi !

I've tried to use the traefik.domain label on one of my container in order to change the default domain applied to the frontend but unfortunately it doesn't work :(

I've created the label with docker run --label traefik.domain=mydomain.com

Can you confirm the bug ?

Regards

@emilevauge
Copy link
Member

@aacebedo, in fact I think we should remove this label from the doc. This is too old ;) You can use a label like traefik.frontend.rule=Host:app.mydomain.com instead.

@aacebedo
Copy link
Author

Oh ! Ok ! Maybe you shall inform users that the doc is outdated :)
Strange thing is that the code is still containing a method referencing the functionality:
https://github.com/containous/traefik/blob/d1ffbd8a03a4fd399c0cc57a5709e5ad07240f02/provider/docker.go#L286

@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

3 participants