Bläddra i källkod

- 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 år sedan
förälder
incheckning
f1ab46d517
1 ändrade filer med 13 tillägg och 0 borttagningar
  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
+#  }
+#}