prosody 13.0.6
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
local getenv = Lua.os.getenv
|
||||
|
||||
default_storage = "sql"
|
||||
|
||||
sql = {
|
||||
driver = os.getenv("DB_DRIVER") or "SQLite3";
|
||||
database = os.getenv("DB_DATABASE") or "prosody.sqlite";
|
||||
host = os.getenv("DB_HOST");
|
||||
port = os.getenv("DB_PORT");
|
||||
username = os.getenv("DB_USERNAME");
|
||||
password = os.getenv("DB_PASSWORD");
|
||||
driver = getenv("DB_DRIVER") or "SQLite3";
|
||||
database = getenv("DB_DATABASE") or "prosody.sqlite";
|
||||
host = getenv("DB_HOST");
|
||||
port = getenv("DB_PORT");
|
||||
username = getenv("DB_USERNAME");
|
||||
password = getenv("DB_PASSWORD");
|
||||
}
|
||||
|
||||
-- make 0.10-distributed mod_mam use sql store
|
||||
@@ -30,4 +32,4 @@ archive_expires_after = "1y"
|
||||
--};
|
||||
--}
|
||||
|
||||
http_max_content_size = os.getenv("HTTP_MAX_CONTENT_SIZE") or 1024 * 1024 * 10 -- Default is 10MB
|
||||
http_max_content_size = getenv("HTTP_MAX_CONTENT_SIZE") or 1024 * 1024 * 10 -- Default is 10MB
|
||||
|
||||
Reference in New Issue
Block a user