traefik/integration/fixtures/websocket/config_https.toml

36 lines
681 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[serversTransport]
2018-04-06 07:38:03 +00:00
insecureSkipVerify=true
[entryPoints]
[entryPoints.wss]
address = ":8000"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "Path(`/echo`,`/ws`)"
[http.routers.router1.tls]
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
2018-11-14 09:18:03 +00:00
PassHostHeader = true
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "{{ .WebsocketServer }}"
[tlsStores.default.DefaultCertificate]
certFile = "resources/tls/local.cert"
keyFile = "resources/tls/local.key"