Comparison

prosody.cfg.lua.dist @ 4087:e239504d8fff

prosody.cfg.lua.dist: Update to include storage configuration and examples for SQL
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Jan 2011 04:41:34 +0000
parent 4086:c51737e6b445
child 4089:0bcbe6c24a6e
comparison
equal deleted inserted replaced
4086:c51737e6b445 4087:e239504d8fff
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";