Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 479:67b8d8260443
Add some example certificates and update the config to point to them
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 17:21:04 +0000 |
parent | 465:9ab51c483cf3 |
child | 518:127eb78cbf4a |
child | 522:fc3df507afa2 |
comparison
equal
deleted
inserted
replaced
478:3abf90751a8f | 479:67b8d8260443 |
---|---|
43 "tls"; -- Add support for secure TLS on c2s/s2s connections | 43 "tls"; -- Add support for secure TLS on c2s/s2s connections |
44 "vcard"; -- Allow users to set vCards | 44 "vcard"; -- Allow users to set vCards |
45 "private"; -- Private XML storage (for room bookmarks, etc.) | 45 "private"; -- Private XML storage (for room bookmarks, etc.) |
46 "version"; -- Replies to server version requests | 46 "version"; -- Replies to server version requests |
47 "dialback"; -- s2s dialback support | 47 "dialback"; -- s2s dialback support |
48 "disco"; -- Service discovery | |
49 "ping"; -- XMPP Ping | |
50 "time"; -- Let others know the time here | |
51 "uptime"; -- Uptime reporting | |
52 "console"; -- telnet to port 5528 (needs console_enabled = true) | |
48 }; | 53 }; |
49 | 54 |
50 -- These are the SSL/TLS-related settings. If you don't want | 55 -- These are the SSL/TLS-related settings. If you don't want |
51 -- to use SSL/TLS, you may comment or remove this | 56 -- to use SSL/TLS, you may comment or remove this |
52 ssl = { | 57 ssl = { |
53 key = "certs/server.key"; | 58 key = "certs/localhost.key"; |
54 certificate = "certs/server.crt"; | 59 certificate = "certs/localhost.cert"; |
55 } | 60 } |
56 | 61 |
57 -- This allows clients to connect to localhost. No harm in it. | 62 -- This allows clients to connect to localhost. No harm in it. |
58 Host "localhost" | 63 Host "localhost" |
59 | 64 |