4a68d29ce2
Co-authored-by: Gérald Croës <gerald@containo.us>
33 lines
643 B
TOML
33 lines
643 B
TOML
[log]
|
|
logLevel = "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 }}"
|
|
Weight = 1
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
certFile = "resources/tls/local.cert"
|
|
keyFile = "resources/tls/local.key"
|