From f1ab46d5178b6fb7e9c4e43628eec358026d287a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Sep 2018 00:43:27 +0300 Subject: - 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 --- snap-src/Caddyfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'snap-src') diff --git a/snap-src/Caddyfile b/snap-src/Caddyfile index 07ed4143..2a9867d8 100644 --- a/snap-src/Caddyfile +++ b/snap-src/Caddyfile @@ -3,3 +3,16 @@ 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 +# } +#} -- cgit v1.2.3-1-g7c22