4245096be4
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
36 lines
697 B
TOML
36 lines
697 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 }}"
|
|
|
|
[tls.stores]
|
|
[tls.stores.default.DefaultCertificate]
|
|
certFile = "resources/tls/local.cert"
|
|
keyFile = "resources/tls/local.key"
|