-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhost_skel.cfg.lua
More file actions
26 lines (21 loc) · 1008 Bytes
/
host_skel.cfg.lua
File metadata and controls
26 lines (21 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-- Section for example.host
VirtualHost "example.host"
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/certs/example.host/key.pem";
certificate = "/certs/example.host/fullchain.pem";
}
------ Components ------
-- You can specify components to add hosts that provide special services,
-- like multi-user conferences, and transports.
-- For more information on components, see http://prosody.im/doc/components
-- Set up a MUC (multi-user chat) room server on conference.example.com:
Component "conference.example.host" "muc"
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
Component "jabber.example.host" "proxy65"
---Set up an external component (default component port is 5347)
--Component "gateway.example.com"
-- component_secret = "password"