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"
|