2020-02-17 17:02:04 +00:00
|
|
|
[global]
|
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
|
|
|
|
|
|
|
[log]
|
|
|
|
level = "DEBUG"
|
2022-11-21 17:36:05 +00:00
|
|
|
noColor = true
|
2020-02-17 17:02:04 +00:00
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.websecure]
|
|
|
|
address = ":4443"
|
|
|
|
[entryPoints.udp]
|
|
|
|
address = ":4443/udp"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
insecure = true
|
|
|
|
|
|
|
|
[providers.file]
|
|
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
|
|
|
|
## dynamic configuration ##
|
|
|
|
|
|
|
|
[udp.routers]
|
|
|
|
[udp.routers.router1]
|
|
|
|
service = "service1"
|
|
|
|
|
|
|
|
[udp.routers.router2]
|
|
|
|
service = "service2"
|
|
|
|
|
|
|
|
[udp.services]
|
|
|
|
[udp.services.service1]
|
|
|
|
|
|
|
|
[udp.services.service2]
|
|
|
|
[udp.services.service2.loadBalancer]
|
|
|
|
[[udp.services.service2.loadBalancer.servers]]
|
|
|
|
address = "127.0.0.1:9010"
|