ソースを参照

added ws on port 4280

Dominik 2 年 前
コミット
49fb744cfe

+ 7 - 0
EXTRAS/example-configurations/conf.d/43-http.yml

@@ -13,3 +13,10 @@ listen:
       "/ws": ejabberd_http_ws
       "/conversejs": mod_conversejs
 
+  -
+    port: 5280
+    ip: "::"
+    module: ejabberd_http
+    tls: false
+    request_handlers:
+      /websocket: ejabberd_http_ws

+ 1 - 1
EXTRAS/example-configurations/conf.d/60-modules.yml

@@ -18,7 +18,7 @@ modules:
   mod_client_state: {}
   mod_configure: {} # requires mod_adhoc
   mod_conversejs:
-    websocket_url: "ws://@HOST@:5443/ws"
+    websocket_url: "ws://@HOST@:5280/websocket"
 
   ## mod_delegation: {} # for xep0356
   mod_disco: {}