summaryrefslogtreecommitdiffstats
path: root/snap-src/Caddyfile
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-09-11 00:43:27 +0300
committerLauri Ojansivu <x@xet7.org>2018-09-11 00:43:27 +0300
commitf1ab46d5178b6fb7e9c4e43628eec358026d287a (patch)
tree1989348ffd8d97d013d46937a312d9501748fa81 /snap-src/Caddyfile
parent4608c057d5c527d7e67fd63115d991dcdea88c97 (diff)
downloadwekan-f1ab46d5178b6fb7e9c4e43628eec358026d287a.tar.gz
wekan-f1ab46d5178b6fb7e9c4e43628eec358026d287a.tar.bz2
wekan-f1ab46d5178b6fb7e9c4e43628eec358026d287a.zip
- 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
Diffstat (limited to 'snap-src/Caddyfile')
-rw-r--r--snap-src/Caddyfile13
1 files changed, 13 insertions, 0 deletions
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
+# }
+#}