1
0
mirror of https://github.com/containous/traefik.git synced 2025-02-04 17:47:11 +03:00
Kristian Klausen 020a8e31ab
kv: Ignore backend servers with no url
Currently with a kv tree like:
/traefik/backends/b1/servers/ẁeb1
/traefik/backends/b1/servers/web2
/traefik/backends/b1/servers/web2/url
Traefik would try to forward traffic to web1, which is impossible as
traefik doesn't know the url of web1.

This commit solve that, by ignoring backend server with no url "key"
when generating the config.

This is very useful, for people who use etcd TTL feature. They can then
just "renew" the url key every X second, and if the server goes down, it
is automatic removed from traefik after the TTL.
2017-04-06 10:28:11 +02:00
..
2016-12-30 19:04:02 +01:00
2017-02-03 09:46:27 +01:00
2016-12-30 19:04:02 +01:00
2017-03-16 10:12:26 -06:00
2017-03-16 10:12:26 -06:00
2016-12-30 19:04:02 +01:00
2016-12-30 19:04:02 +01:00
2016-12-30 19:04:02 +01:00
2015-11-02 18:35:55 +01:00
2016-11-09 21:08:37 +01:00
2016-12-30 19:04:02 +01:00
2017-04-06 10:28:11 +02:00
2017-02-03 09:46:27 +01:00
2016-12-30 19:04:02 +01:00
2017-03-06 17:45:58 +01:00
2017-03-06 17:45:58 +01:00
2016-12-30 19:04:02 +01:00