Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 3412:7c66519f4973
prosody.cfg.lua.dist: Fixed trailing whitespace.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 31 Jul 2010 12:33:34 +0500 |
parent | 3273:e9f5489ed2fe |
child | 3490:957b40dc6d7c |
comparison
equal
deleted
inserted
replaced
3411:7170aaeb582d | 3412:7c66519f4973 |
---|---|
1 -- Prosody Example Configuration File | 1 -- Prosody Example Configuration File |
2 -- | 2 -- |
3 -- Information on configuring Prosody can be found on our | 3 -- Information on configuring Prosody can be found on our |
4 -- website at http://prosody.im/doc/configure | 4 -- website at http://prosody.im/doc/configure |
5 -- | 5 -- |
6 -- Tip: You can check that the syntax of this file is correct | 6 -- Tip: You can check that the syntax of this file is correct |
7 -- when you have finished by running: luac -p prosody.cfg.lua | 7 -- when you have finished by running: luac -p prosody.cfg.lua |
8 -- If there are any errors, it will let you know what and where | 8 -- If there are any errors, it will let you know what and where |
9 -- they are, otherwise it will keep quiet. | 9 -- they are, otherwise it will keep quiet. |
10 -- | 10 -- |
74 }; | 74 }; |
75 | 75 |
76 -- Disable account creation by default, for security | 76 -- Disable account creation by default, for security |
77 -- For more information see http://prosody.im/doc/creating_accounts | 77 -- For more information see http://prosody.im/doc/creating_accounts |
78 allow_registration = false; | 78 allow_registration = false; |
79 | 79 |
80 -- These are the SSL/TLS-related settings. If you don't want | 80 -- These are the SSL/TLS-related settings. If you don't want |
81 -- to use SSL/TLS, you may comment or remove this | 81 -- to use SSL/TLS, you may comment or remove this |
82 ssl = { | 82 ssl = { |
83 key = "certs/localhost.key"; | 83 key = "certs/localhost.key"; |
84 certificate = "certs/localhost.cert"; | 84 certificate = "certs/localhost.cert"; |
104 | 104 |
105 -- Assign this host a certificate for TLS, otherwise it would use the one | 105 -- Assign this host a certificate for TLS, otherwise it would use the one |
106 -- set in the global section (if any). | 106 -- set in the global section (if any). |
107 -- Note that old-style SSL on port 5223 only supports one certificate, and will always | 107 -- Note that old-style SSL on port 5223 only supports one certificate, and will always |
108 -- use the global one. | 108 -- use the global one. |
109 ssl = { | 109 ssl = { |
110 key = "certs/example.com.key"; | 110 key = "certs/example.com.key"; |
111 certificate = "certs/example.com.crt"; | 111 certificate = "certs/example.com.crt"; |
112 } | 112 } |
113 | 113 |
114 ------ Components ------ | 114 ------ Components ------ |