[global] checkNewVersion = false sendAnonymousUsage = false [log] level = "DEBUG" [entryPoints] [entryPoints.websecure] address = ":4443" [entryPoints.udp] address = ":4443/udp" [api] insecure = true [providers.file] filename = "{{ .SelfFilename }}" ## dynamic configuration ## [http.routers] [http.routers.router4] service = "service1" rule = "Host(`snitest.net`)" [http.routers.router5] service = "service2" rule = "Host(`snitest.com`)" [http.services] [http.services.service1] [http.services.service2] [http.services.service2.loadBalancer] [[http.services.service2.loadBalancer.servers]] url = "http://127.0.0.1:9010" [tcp.routers] [tcp.routers.router4] service = "service1" rule = "HostSNI(`snitest.net`)" [tcp.routers.router5] service = "service2" rule = "HostSNI(`snitest.com`)" [tcp.services] [tcp.services.service1] [tcp.services.service2] [tcp.services.service2.loadBalancer] [[tcp.services.service2.loadBalancer.servers]] address = "127.0.0.1:9010" [udp.routers] [udp.routers.router4] service = "service1" [udp.routers.router5] 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"