28 lines
545 B
TOML
28 lines
545 B
TOML
defaultEntryPoints = ["wss"]
|
|
|
|
logLevel = "DEBUG"
|
|
InsecureSkipVerify=true
|
|
|
|
[entryPoints]
|
|
[entryPoints.wss]
|
|
address = ":8000"
|
|
[entryPoints.wss.tls]
|
|
[[entryPoints.wss.tls.certificates]]
|
|
certFile = "resources/tls/local.cert"
|
|
keyFile = "resources/tls/local.key"
|
|
|
|
[web]
|
|
address = ":8080"
|
|
|
|
[file]
|
|
|
|
[backends]
|
|
[backends.backend1]
|
|
[backends.backend1.servers.server1]
|
|
url = "{{ .WebsocketServer }}"
|
|
|
|
[frontends]
|
|
[frontends.frontend1]
|
|
backend = "backend1"
|
|
[frontends.frontend1.routes.test_1]
|
|
rule = "Path:/echo,/ws"
|