Added: mod_http_upload required header for XEP-0363 copmpliance
This commit is contained in:
parent
b506056b0a
commit
854b745026
1 changed files with 4 additions and 0 deletions
|
|
@ -226,6 +226,10 @@ modules:
|
|||
docroot: "/opt/ejabberd/upload/@HOST@"
|
||||
put_url: "https://@HOST@:5443/upload"
|
||||
thumbnail: false
|
||||
custom_headers:
|
||||
"Access-Control-Allow-Origin": "https://domain.tld"
|
||||
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"
|
||||
"Access-Control-Allow-Headers": "Content-Type"
|
||||
mod_last: {}
|
||||
mod_mam:
|
||||
## Mnesia is limited to 2GB, better to use an SQL backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue