2021-04-15 00:42:21 +00:00
|
|
|
Index: ejabberd-21.04/ejabberd.yml.example
|
2016-07-04 14:49:45 +00:00
|
|
|
===================================================================
|
2021-04-15 00:42:21 +00:00
|
|
|
--- ejabberd-21.04.orig/ejabberd.yml.example
|
|
|
|
+++ ejabberd-21.04/ejabberd.yml.example
|
|
|
|
@@ -171,6 +171,14 @@ modules:
|
2018-11-11 00:45:50 +00:00
|
|
|
mod_http_api: {}
|
|
|
|
mod_http_upload:
|
2019-08-13 00:16:51 +00:00
|
|
|
put_url: https://@HOST@:5443/upload
|
2018-11-11 00:45:50 +00:00
|
|
|
+ ## get_url: https://@HOST@
|
|
|
|
+ ## file_mode: "0640"
|
|
|
|
+ ## dir_mode: "0750"
|
|
|
|
+ ## #
|
|
|
|
+ ## # If you have this enabled then you also need ImageMagick installed.
|
|
|
|
+ ## # This package is not required anymore but only recommended.
|
|
|
|
+ ## #
|
|
|
|
+ ## thumbnail: false # otherwise needs ejabberd to be compiled with libgd support
|
2020-08-25 20:10:17 +00:00
|
|
|
custom_headers:
|
|
|
|
"Access-Control-Allow-Origin": "https://@HOST@"
|
|
|
|
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"
|