Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:17:11 +0800
provision: use one certificate for nginx and prosody
contrib/provision/roles/tram-im/templates/etc/prosody/conf.avail/tram-im.cfg.lua
Permissions: -rw-r--r--
plugin_paths = { "/var/lib/prosody/extra-modules" } https_interfaces = { "127.0.0.1" } VirtualHost "{{ domain }}" admins = { "{{ admin_jid }}" } certificate = "{{ ssl_cert }}"; 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" }