Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 8260:17c630b243ce
prosody.cfg.lua.dist: Further tweaks in preparation for 0.10.0
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 23 Sep 2017 17:39:36 +0100 |
parent | 8258:503f424d4f07 |
child | 8261:012208387396 |
comparison
equal
deleted
inserted
replaced
8259:db063671b73e | 8260:17c630b243ce |
---|---|
56 "uptime"; -- Report how long server has been running | 56 "uptime"; -- Report how long server has been running |
57 "time"; -- Let others know the time here on this server | 57 "time"; -- Let others know the time here on this server |
58 "ping"; -- Replies to XMPP pings with pongs | 58 "ping"; -- Replies to XMPP pings with pongs |
59 "register"; -- Allow users to register on this server using a client and change passwords | 59 "register"; -- Allow users to register on this server using a client and change passwords |
60 --"mam"; -- Store messages in an archive and allow users to access it | 60 --"mam"; -- Store messages in an archive and allow users to access it |
61 | |
62 -- Not merged yet, nice to have or recommended? | |
63 | 61 |
64 -- Admin interfaces | 62 -- Admin interfaces |
65 "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands | 63 "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands |
66 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582 | 64 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582 |
67 | 65 |
93 | 91 |
94 -- Disable account creation by default, for security | 92 -- Disable account creation by default, for security |
95 -- For more information see https://prosody.im/doc/creating_accounts | 93 -- For more information see https://prosody.im/doc/creating_accounts |
96 allow_registration = false | 94 allow_registration = false |
97 | 95 |
98 -- If no certificate has been explicitly configured, Prosody will attempt to | |
99 -- locate one based on the service name. | |
100 -- This option determines which directory to search. | |
101 -- certificates = "certs"; | |
102 | |
103 -- OR -- | |
104 | |
105 -- Specify the location of certificates | |
106 -- Prosody will attempt to locate a certificate and key for hosts and | |
107 -- services offered. | |
108 -- For more information see https://prosody.im/doc/certificates#magic | |
109 | |
110 -- Force clients to use encrypted connections? This option will | 96 -- Force clients to use encrypted connections? This option will |
111 -- prevent clients from authenticating unless they are using encryption. | 97 -- prevent clients from authenticating unless they are using encryption. |
112 | 98 |
113 c2s_require_encryption = true | 99 c2s_require_encryption = true |
114 | 100 |
183 | 169 |
184 -- Uncomment to enable statistics | 170 -- Uncomment to enable statistics |
185 -- For more info see https://prosody.im/doc/statistics | 171 -- For more info see https://prosody.im/doc/statistics |
186 -- statistics = "internal" | 172 -- statistics = "internal" |
187 | 173 |
174 -- Certificates | |
175 -- Every virtual host and component needs a certificate so that clients and | |
176 -- servers can securely verify its identity. Prosody will automatically load | |
177 -- certificates/keys from the directory specified here (paths are relative to | |
178 -- the main configuration file). | |
179 -- For more information, including how to use 'prosodyctl' to auto-import certificates | |
180 -- (from e.g. Let's Encrypt) see https://prosody.im/doc/certificates | |
181 | |
182 certificates = "certs" | |
183 | |
188 ----------- Virtual hosts ----------- | 184 ----------- Virtual hosts ----------- |
189 -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. | 185 -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. |
190 -- Settings under each VirtualHost entry apply *only* to that host. | 186 -- Settings under each VirtualHost entry apply *only* to that host. |
191 | 187 |
192 VirtualHost "localhost" | 188 VirtualHost "localhost" |
193 | 189 |
194 VirtualHost "example.com" | 190 --VirtualHost "example.com" |
195 enabled = false -- Remove this line to enable this host | 191 -- certificate = "/path/to/example.crt" |
196 | |
197 -- Assign this host a certificate for TLS, otherwise it would attempt locate one, | |
198 -- based on the hostname. | |
199 -- certificate = "certs/example.com.crt"; | |
200 -- `prosodyctl check certs` | |
201 | 192 |
202 ------ Components ------ | 193 ------ Components ------ |
203 -- You can specify components to add hosts that provide special services, | 194 -- You can specify components to add hosts that provide special services, |
204 -- like multi-user conferences, and transports. | 195 -- like multi-user conferences, and transports. |
205 -- For more information on components, see https://prosody.im/doc/components | 196 -- For more information on components, see https://prosody.im/doc/components |