35 lines
681 B
TOML
35 lines
681 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[serversTransport]
|
|
insecureSkipVerify=true
|
|
|
|
[entryPoints]
|
|
[entryPoints.wss]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
Service = "service1"
|
|
Rule = "Path(`/echo`,`/ws`)"
|
|
[http.routers.router1.tls]
|
|
|
|
[http.services]
|
|
[http.services.service1]
|
|
[http.services.service1.LoadBalancer]
|
|
PassHostHeader = true
|
|
[[http.services.service1.LoadBalancer.Servers]]
|
|
URL = "{{ .WebsocketServer }}"
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
certFile = "resources/tls/local.cert"
|
|
keyFile = "resources/tls/local.key"
|