traefik/integration/fixtures/websocket/config_https.toml
Julien Salleyron 4a68d29ce2 Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
2019-03-14 09:30:04 +01:00

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"