mod_net_multiplex
This module enables Prosody to use the same port(s) for multiple protocols, eg XMPP and HTTP.
Configuration
-- Global section
= {
modules_enabled -- Other modules
"net_multiplex";
}
= { 8080 } -- Unencrypted TCP port
ports = { 8443 } -- Direct TLS, like HTTPS etc ssl_ports
Usage
See documentation on port multiplexing and general port and network configuration.