wekan/snap-src/Caddyfile
Lauri Ojansivu f1ab46d517 - Turn of http/2 so that Firefox Inspect Console does not show
wss websocket config. Chrome web console supports http/2.
  Note: If you are already using Caddy and have modified your
  Caddyfile, you need to edit your Caddyfile manually.

Thanks to xet7 !

Related #934
2018-09-11 00:43:27 +03:00

18 lines
369 B
Caddyfile

http://:8080
proxy / localhost:3001 {
websocket
transparent
}
## SSL/TLS example. Firefox Inspect Console does not support http/2, so turning it off
## so that Firefox would not show wss websocket errors. Chrome console supports http/2.
#
#wekan.example.com {
# tls {
# alpn http/1.1
# }
# proxy / localhost:3001 {
# websocket
# transparent
# }
#}