Created
September 14, 2018 12:50
-
-
Save dniel/b15e9d3120bd817829d34b42c5aeb2aa to your computer and use it in GitHub Desktop.
traefik.toml
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
debug = true | |
checkNewVersion = false | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[accessLog] | |
[web] | |
[file] | |
[backends] | |
[backends.ui] | |
[backends.ui.servers] | |
[backends.ui.servers.server1] | |
url = "http://172.16.18.3:8081" | |
weight = 1 | |
[backends.registry] | |
[backends.registry.servers] | |
[backends.registry.servers.server1] | |
url = "http://172.16.18.3:5000" | |
weight = 1 | |
[frontends] | |
[frontends.ui] | |
entryPoints = ["http"] | |
passHostHeader = true | |
backend = "ui" | |
[frontends.ui.routes.route1] | |
rule = "PathPrefix:/path1" | |
[frontends.registry] | |
entryPoints = ["http"] | |
passHostHeader = true | |
backend = "registry" | |
[frontends.registry.routes.route1] | |
rule = "PathPrefix:/path2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment