diff --git a/roles/xmpp/files/prosody.cfg.lua b/roles/xmpp/files/prosody.cfg.lua index 2748ca7..aec199e 100644 --- a/roles/xmpp/files/prosody.cfg.lua +++ b/roles/xmpp/files/prosody.cfg.lua @@ -63,7 +63,7 @@ modules_enabled = { -- HTTP modules "bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" - "http_upload"; -- Enable HTTP upload XEP-0353 + -- "http_upload"; -- Enable HTTP upload XEP-0353 --"http_files"; -- Serve static files from a directory over HTTP -- Other specific functionality @@ -202,11 +202,11 @@ VirtualHost "libertus.eu" ---Set up a MUC (multi-user chat) room server on conference.example.com: Component "conference.libertus.eu" "muc" -restrict_room_creation = "local" -muc_room_default_public = false -muc_room_default_persistent = true -muc_room_default_members_only = true -muc_room_default_public_jids = true + restrict_room_creation = "local" + muc_room_default_public = false + muc_room_default_persistent = true + muc_room_default_members_only = true + muc_room_default_public_jids = true -- Set up a SOCKS5 bytestream proxy for server-proxied file transfers: --Component "proxy.example.com" "proxy65" @@ -221,10 +221,11 @@ muc_room_default_public_jids = true -- component_secret = "password" Component "upload.libertus.eu" "http_upload" -http_external_url = "https://upload.libertus.eu" -http_upload_file_size_limit = 10 * 1024 * 1024 -http_upload_expire_after = 60 * 60 * 24 * 7 -http_upload_allowed_file_types = { "image/*", "text/plain" } + http_host = "upload.libertus.eu" + http_external_url = "https://upload.libertus.eu/" + http_upload_file_size_limit = 10 * 1024 * 1024 + http_upload_expire_after = 60 * 60 * 24 * 7 + http_upload_allowed_file_types = { "image/*", "text/plain" } ------ Additional config files ------ -- For organizational purposes you may prefer to add VirtualHost and