Created
April 26, 2018 15:34
-
-
Save likwid/4c7e0d9c86e68b28f11d4116395f0e94 to your computer and use it in GitHub Desktop.
Traefik example configuration with Consul
This file contains hidden or 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
defaultEntryPoints = ["http"] | |
[accessLog] | |
[traefikLog] | |
[entryPoints] | |
[entryPoints.http] | |
address = ":4000" | |
compress = true | |
[entryPoints.api] | |
address = ":9000" | |
[api] | |
dashboard = true | |
debug = true | |
entryPoint = "api" | |
[rest] | |
entryPoint = "api" | |
[consul] | |
endpoint = "127.0.0.1:8500" | |
watch = true | |
prefix = "traefik" | |
[consulCatalog] | |
endpoint = "127.0.0.1:8500" | |
domain = "nonprod.internal" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment