Configure ejabberd nodes for HTTP upload service
This commit is contained in:
parent
0e29c930ed
commit
f39f953b8a
@ -64,6 +64,11 @@ modules:
|
|||||||
max_user_conferences: 1000
|
max_user_conferences: 1000
|
||||||
default_room_options:
|
default_room_options:
|
||||||
mam: true
|
mam: true
|
||||||
|
mod_http_upload:
|
||||||
|
put_url: "https://uploads.kosmos.chat/8af2c77"
|
||||||
|
external_secret: "#{ejabberd_credentials["uploads_secret"]}"
|
||||||
|
max_size: 104857600
|
||||||
|
thumbnail: false # otherwise needs the identify command from ImageMagick installed
|
||||||
EOF
|
EOF
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -89,6 +94,11 @@ modules:
|
|||||||
public_list: false
|
public_list: false
|
||||||
persistent: true
|
persistent: true
|
||||||
mam: true
|
mam: true
|
||||||
|
mod_http_upload:
|
||||||
|
put_url: "https://uploads.kosmos.chat/2802cfe"
|
||||||
|
external_secret: "#{ejabberd_credentials["uploads_secret"]}"
|
||||||
|
max_size: 104857600
|
||||||
|
thumbnail: false # otherwise needs the identify command from ImageMagick installed
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -191,10 +191,6 @@ modules:
|
|||||||
name: "abuse-addresses"
|
name: "abuse-addresses"
|
||||||
urls: ["mailto:abuse@@HOST@"]
|
urls: ["mailto:abuse@@HOST@"]
|
||||||
mod_bosh: {}
|
mod_bosh: {}
|
||||||
mod_http_upload:
|
|
||||||
docroot: "/opt/ejabberd/uploads/xmpp.@HOST@/"
|
|
||||||
put_url: "https://xmpp.@HOST@:5443/upload"
|
|
||||||
thumbnail: false # otherwise needs the identify command from ImageMagick installed
|
|
||||||
mod_last: {}
|
mod_last: {}
|
||||||
mod_mam:
|
mod_mam:
|
||||||
default: always
|
default: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user