Prosody: Difference between revisions
domain and disco config |
m at -> on |
||
Line 11: | Line 11: | ||
* Domain of the xmpp address is the bare top level domain example.org. The bare top level domain has SRV records pointing to XMPP server xmpp.example.org. | * Domain of the xmpp address is the bare top level domain example.org. The bare top level domain has SRV records pointing to XMPP server xmpp.example.org. | ||
* XMPP server is hosted | * XMPP server is hosted on xmpp.example.org. | ||
* XMPP services, such as STUN/TURN server, Multi-User Chat and HTTP upload are hosted at *.xmpp.example.org. As *.xmpp.example.org is not a direct subdomain of example.org, we need to set mod_disco to let XMPP client to discover the services. | * XMPP services, such as STUN/TURN server, Multi-User Chat and HTTP upload are hosted at *.xmpp.example.org. As *.xmpp.example.org is not a direct subdomain of example.org, we need to set mod_disco to let XMPP client to discover the services. | ||
Line 26: | Line 26: | ||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* STUN/TURN server is hosted | * STUN/TURN server is hosted on turn.xmpp.example.org. | ||
* Multi-User Chat is hosted | * Multi-User Chat is hosted on muc.xmpp.example.org. | ||
* HTTP upload server is hosted | * HTTP upload server is hosted on upload.xmpp.example.org. | ||
= SSL Certificate with ACME = | = SSL Certificate with ACME = |