This module helps make BOSH and WebSocket connection endpoints discoverable via the HTTP method described in XEP-0156.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_http_altconnect
For earlier versions see the documentation for installing 3rd party modules