From ddd4f36480bf3bc0b42907e48c617b90893ddabf Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Mon, 5 Jun 2023 12:35:39 -0700 Subject: [PATCH] add support for bosh and websockets --- prosody.cfg.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/prosody.cfg.lua b/prosody.cfg.lua index 1f73765..852c534 100644 --- a/prosody.cfg.lua +++ b/prosody.cfg.lua @@ -67,9 +67,9 @@ modules_enabled = { "admin_shell"; -- Allow secure administration via 'prosodyctl shell' -- HTTP modules - --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" + "bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" --"http_openmetrics"; -- for exposing metrics to stats collectors - --"websocket"; -- XMPP over WebSockets + "websocket"; -- XMPP over WebSockets -- Other specific functionality --"announce"; -- Send announcement to all online users @@ -210,6 +210,9 @@ certificates = "certs" component_ports = { 5347 } component_interface = { "::", "*" } +http_interface = { "::", "*" } +https_interface = { "::", "*" } + Include "conf.d/*.cfg.lua" ---------- End of the Prosody Configuration file ----------