13f1b3f
-- Section for VirtualHost example.com
13f1b3f
13f1b3f
VirtualHost "example.com"
13f1b3f
	enabled = false -- Remove this line to enable this host
13f1b3f
13f1b3f
	-- Assign this host a certificate for TLS, otherwise it would use the one
13f1b3f
	-- set in the global section (if any).
13f1b3f
	-- Note that old-style SSL on port 5223 only supports one certificate, and will always
13f1b3f
	-- use the global one.
13f1b3f
	ssl = {
13f1b3f
		key = "/etc/pki/prosody/example.com.key";
13f1b3f
		certificate = "/etc/pki/prosody/example.com.crt";
13f1b3f
	}
13f1b3f
13f1b3f
------ Components ------
13f1b3f
-- You can specify components to add hosts that provide special services,
13f1b3f
-- like multi-user conferences, and transports.
13f1b3f
-- For more information on components, see http://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"
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
13f1b3f
-- see: http://prosody.im/doc/components#adding_an_external_component
13f1b3f
--
13f1b3f
--Component "gateway.example.com"
13f1b3f
--	component_secret = "password"