96 -- domains. |
96 -- domains. |
97 |
97 |
98 --c2s_require_encryption = false |
98 --c2s_require_encryption = false |
99 --s2s_require_encryption = false |
99 --s2s_require_encryption = false |
100 |
100 |
|
101 -- Select the storage backend to use. By default Prosody uses flat files |
|
102 -- in its configured data directory, but it also supports more backends |
|
103 -- through modules. An "sql" backend is included by default, but requires |
|
104 -- additional dependencies. See http://prosody.im/doc/storage for more info. |
|
105 |
|
106 --storage = "sql" -- Default is "internal" |
|
107 |
|
108 -- For the "sql" backend, you can uncomment *one* of the below to configure: |
|
109 --sql = { driver = "SQLite3", database = "prosody.sqlite" } -- Default. 'database' is the filename. |
|
110 --sql = { driver = "MySQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" } |
|
111 --sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" } |
|
112 |
101 -- Logging configuration |
113 -- Logging configuration |
102 -- For advanced logging see http://prosody.im/doc/logging |
114 -- For advanced logging see http://prosody.im/doc/logging |
103 log = { |
115 log = { |
104 info = "prosody.log"; -- Change info to debug for verbose logging |
116 info = "prosody.log"; -- Change info to debug for verbose logging |
105 error = "prosody.err"; |
117 error = "prosody.err"; |