浏览代码

- 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

Lauri Ojansivu 6 年之前
父节点
当前提交
f1ab46d517
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      snap-src/Caddyfile

+ 13 - 0
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
+#  }
+#}