91:e66349b7f9c6
Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:17:11 +0800
provision: use one certificate for nginx and prosody

next change 96:3f3763a88680
previous change 90:ac596e288f18

contrib/provision/roles/tram-im/templates/etc/prosody/conf.avail/tram-im.cfg.lua

Permissions: -rw-r--r--

Other formats: Feeds:
plugin_paths = { "/var/lib/prosody/extra-modules" }
http_interfaces = { }
https_interfaces = { "127.0.0.1" }
VirtualHost "{{ domain }}"
admins = { "{{ admin_jid }}" }
ssl = {
certificate = "{{ ssl_cert }}";
key = "{{ ssl_key }}";
dhparam = "/etc/prosody/dh-2048.pem";
}
modules_enabled = { "register", "vcard", "bosh" }
modules_disabled = { "s2s" }
allow_registration = true
authentication = "internal_hashed"
--[[
Component "muc.{{ domain }}" "muc"
name = "Multi-user chat on {{ domain }}"
restrict_room_creation = "local"
--modules_enabled = { "mam_muc" } -- Currently alpha
]]--
--[[
Component "proxy65.{{ domain }}" "proxy65"
proxy65_acl = { "{{ domain }}" }
modules_enabled = { "http_upload" }
]]--