2019-07-15 15:04:04 +00:00
|
|
|
[global]
|
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
|
|
|
|
|
|
|
[log]
|
|
|
|
level = "DEBUG"
|
2022-11-21 17:36:05 +00:00
|
|
|
noColor = true
|
2019-07-15 15:04:04 +00:00
|
|
|
|
|
|
|
[entryPoints]
|
2020-01-23 15:36:08 +00:00
|
|
|
[entryPoints.websecure]
|
2019-07-15 15:04:04 +00:00
|
|
|
address = ":4443"
|
|
|
|
|
|
|
|
[api]
|
2019-09-06 13:08:04 +00:00
|
|
|
insecure = true
|
2019-07-15 15:04:04 +00:00
|
|
|
|
|
|
|
[providers.file]
|
|
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
|
|
|
|
## dynamic configuration ##
|
|
|
|
|
|
|
|
[http.routers]
|
2019-08-29 10:38:04 +00:00
|
|
|
[http.routers.router3]
|
|
|
|
entrypoints=["unknown-entrypoint"]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`mydomain.com`)"
|
|
|
|
|
2019-07-15 15:04:04 +00:00
|
|
|
[http.routers.router4]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`snitest.net`)"
|
|
|
|
[http.routers.router4.tls]
|
|
|
|
options = "foo"
|
|
|
|
|
|
|
|
[http.routers.router5]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`snitest.net`)"
|
|
|
|
middlewares = [ "unknown" ]
|
|
|
|
[http.routers.router5.tls]
|
|
|
|
options = "baz"
|
|
|
|
|
|
|
|
[http.services]
|
|
|
|
[http.services.service1]
|
|
|
|
[http.services.service1.loadBalancer]
|
|
|
|
[[http.services.service1.loadBalancer.servers]]
|
|
|
|
url = "http://127.0.0.1:9010"
|
|
|
|
|
|
|
|
[tls.options]
|
|
|
|
|
|
|
|
[tls.options.foo]
|
|
|
|
minversion = "VersionTLS11"
|
|
|
|
|
|
|
|
[tls.options.baz]
|
|
|
|
minversion = "VersionTLS11"
|
2020-02-11 00:26:04 +00:00
|
|
|
|
|
|
|
[tcp.routers]
|
|
|
|
[tcp.routers.router3]
|
|
|
|
entrypoints=["unknown-entrypoint"]
|
|
|
|
service = "service1"
|
|
|
|
rule = "HostSNI(`mydomain.com`)"
|
|
|
|
[tcp.routers.router4]
|
|
|
|
entrypoints=["websecure"]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`mydomain.com`)"
|
|
|
|
|
|
|
|
[tcp.services]
|
|
|
|
[tcp.services.service1]
|
|
|
|
[tcp.services.service1.loadBalancer]
|
|
|
|
[[tcp.services.service1.loadBalancer.servers]]
|
|
|
|
address = "127.0.0.1:9010"
|
|
|
|
|
|
|
|
[udp.routers]
|
|
|
|
[udp.routers.router3]
|
|
|
|
entrypoints=["unknown-entrypoint"]
|
|
|
|
service = "service1"
|
|
|
|
|
|
|
|
[udp.services]
|
|
|
|
[udp.services.service1]
|
|
|
|
[udp.services.service1.loadBalancer]
|
|
|
|
[[udp.services.service1.loadBalancer.servers]]
|
|
|
|
address = "127.0.0.1:9010"
|