mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 13:10:37 +00:00
http_upload at upload.domain.tld
This commit is contained in:
parent
86da996ff3
commit
32fbf2c8db
3 changed files with 5 additions and 5 deletions
|
@ -72,11 +72,11 @@ RUN docker-prosody-module-install \
|
|||
csi `# client state indication (XEP-0352)` \
|
||||
e2e_policy `# require end-2-end encryption` \
|
||||
filter_chatstates `# disable "X is typing" type messages` \
|
||||
http_upload `# file sharing (XEP-0363)` \
|
||||
smacks `# stream management (XEP-0198)` \
|
||||
throttle_presence `# presence throttling in CSI`
|
||||
|
||||
RUN docker-prosody-module-copy \
|
||||
http_upload `# file sharing (XEP-0363)` \
|
||||
vcard_muc `# XEP-0153: vCard-Based Avatar (MUC)`
|
||||
|
||||
USER prosody
|
||||
|
|
|
@ -13,8 +13,8 @@ Component ("proxy." .. domain) "proxy65"
|
|||
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 ("upload." .. domain) "http_upload"
|
||||
http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds
|
||||
|
||||
Component ("conference." .. domain) "muc"
|
||||
name = "Prosody Chatrooms"
|
||||
|
@ -24,4 +24,3 @@ Component ("conference." .. domain) "muc"
|
|||
"muc_mam",
|
||||
"vcard_muc"
|
||||
}
|
||||
|
||||
|
|
|
@ -103,11 +103,12 @@ Inspect logs: ```docker-compose logs -f```
|
|||
|
||||
#### DNS
|
||||
|
||||
You need these dns record pointing to your server:
|
||||
You need these DNS record pointing to your server:
|
||||
|
||||
* domain.tld
|
||||
* conference.domain.tld
|
||||
* proxy.domain.tld
|
||||
* upload.domain.tld
|
||||
|
||||
where domain.tld is the environment variable DOMAIN.
|
||||
|
||||
|
|
Loading…
Reference in a new issue