13f1b3f
-- Section for VirtualHost example.com
13f1b3f
13f1b3f
VirtualHost "example.com"
13f1b3f
	enabled = false -- Remove this line to enable this host
13f1b3f
6ab1dc4
	-- Prosody will automatically search for a certificate and key
6ab1dc4
	-- in /etc/prosody/certs/ unless a path is manually specified
6ab1dc4
	-- in the config file, see https://prosody.im/doc/certificates
6ab1dc4
	--ssl = {
6ab1dc4
	--	key = "/etc/pki/prosody/example.com.key";
6ab1dc4
	--	certificate = "/etc/pki/prosody/example.com.crt";
6ab1dc4
	--}
13f1b3f
13f1b3f
------ Components ------
13f1b3f
-- You can specify components to add hosts that provide special services,
13f1b3f
-- like multi-user conferences, and transports.
6ab1dc4
-- For more information on components, see https://prosody.im/doc/components
13f1b3f
13f1b3f
---Set up a MUC (multi-user chat) room server on conference.example.com:
13f1b3f
--Component "conference.example.com" "muc"
1b9ad80
--- Store MUC messages in an archive and allow users to access it
1b9ad80
--modules_enabled = { "muc_mam" }
13f1b3f
13f1b3f
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
13f1b3f
--Component "proxy.example.com" "proxy65"
13f1b3f
13f1b3f
---Set up an external component (default component port is 5347)
13f1b3f
--
13f1b3f
-- External components allow adding various services, such as gateways/
13f1b3f
-- transports to other networks like ICQ, MSN and Yahoo. For more info
6ab1dc4
-- see: https://prosody.im/doc/components#adding_an_external_component
13f1b3f
--
13f1b3f
--Component "gateway.example.com"
13f1b3f
--	component_secret = "password"