File ejabberd-16.01_document_optional.patch of Package ejabberd
Index: ejabberd-21.04/ejabberd.yml.example
===================================================================
--- ejabberd-21.04.orig/ejabberd.yml.example
+++ ejabberd-21.04/ejabberd.yml.example
@@ -171,6 +171,14 @@ modules:
mod_http_api: {}
mod_http_upload:
put_url: https://@HOST@:5443/upload
+ ## 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
custom_headers:
"Access-Control-Allow-Origin": "https://@HOST@"
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"