-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bind to specific ip address #1193
Comments
You should be able to provide an IP address before the |
Oh... I did not try it because it is not documented ... I will test it and I will give feedback here. |
Oh, yes indeed that works as expected 👍 - Sorry that I opened up this, maybe I line in the documentation would be helpful for others. |
I think the syntax is fairly obvious to Go programmers, but that doesn't help end users like yours. :-) I think you're right, we should improve the docs here. I'll try to file a PR over the weekend. |
@timoreimann : That would be helpful. Over 2 years later, it's still not documented. I'm trying to bind to 2 IP addresses, and I don't see how to do that. Could you please add this to the examples for |
@benbucksch I added a piece of TOML example configuration on the same day as I made that comment. See the reference to PR 1194 above. That was 2 years ago, I believe a lot of refactorings have happened since then. I couldn't immediately tell where the samples are these days. Feel free to file a new issue and / or reach out to the community on Slack and the community forum for help; especially with regards to binding to multiple addresses / protocols which this issue did not address originally. Thanks. |
|
@benbucksch sorry, I meant the explicit samples TOML file we used to maintain. I see it's still around, but the 1.7 branch version does not seem to contain my extension anymore. It's either gone someplace else or was missed when we put more focused on the rendered documentation. Either way, it looks like a new issue should be raised. |
@timoreimann : I've filed #5059, with the solution. @ALL: The solution isn't in traefik.toml entryPoints sections at all, but in the docker start script / docker-compose file that starts traefik. Might seem obvious, but only if you know it :-) . |
What version of Traefik are you using (
traefik version
)?1.1.2
I would like to bind an instance of traefik to a given ip address and not to all. I've looked in the documention but I did not see a configuration option for this. Furthermore I did not see an command line switch for that. It would be nice to run multiple instances of traefik on different network interfaces at the same time. Like ist is possible in nginx or httpd through the "listen" parameter like "listen a.b.c.d:1234". Please excuse me, if I've overlook it anywhere.
Thank you!
The text was updated successfully, but these errors were encountered: