1
0
Fork 0
forked from mirror/prosody
prosody/conf.d/04-vhost.cfg.lua
shaula 7c484beb14 Upgrade to Prosody 0.11.0:
* featuring Lua 5.2
* installing luaevent, luadbi, luadbi-sqlite3 using luarocks (omitting mysql & postgres to keep build small)
* enabling new modules: vcard4, csi_simple, carbons, mam & muc_mam
2018-11-27 19:43:15 +00:00

27 lines
641 B
Lua

local domain = os.getenv("DOMAIN")
ssl = {
key = "/usr/local/etc/prosody/certs/prosody.key";
certificate = "/usr/local/etc/prosody/certs/prosody.crt";
}
VirtualHost (domain)
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers
Component ("proxy." .. domain) "proxy65"
proxy65_address = domain
proxy65_acl = { domain }
-- Set up a http file upload because proxy65 is not working in muc
-- Component (domain) "http_upload"
-- is set-up via modules_enabled
Component ("muc." .. domain) "muc"
name = "Prosody Chatrooms"
restrict_room_creation = false
max_history_messages = 20
modules_enabled = {
"muc_mam";
}