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";
}
ports = { 1234, 2345 }
ssl_ports = { 5223 }

Usage

See documentation on port multiplexing and general port and network configuration.