Last active
July 22, 2016 07:53
-
-
Save smcquay/11958b7e781d72662e793d45722d3323 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
etcdctl rm -r /traefik | |
echo -n "tmp" | etcdctl set /traefik/frontends/fe1/backend | |
echo -n "Host:impa.local" | etcdctl set /traefik/frontends/fe1/routes/test_1/rule | |
echo -n "http" | etcdctl set /traefik/frontends/fe1/entrypoints | |
echo -n "http://impa.local:8000" | etcdctl set /traefik/backends/tmp/servers/server1/url | |
echo -n "1" | etcdctl set /traefik/backends/tmp/servers/server1/weight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[entryPoints] | |
[entryPoints.http] | |
address = ":2020" | |
[web] | |
address = ":2021" | |
[etcd] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment