https://www.process-one.net/blog/ejabberd-21-04/ - drop ejabberd-bump-deps.patch - refresh patches: ejabberd-16.01_document_optional.patch ejabberd-fix_make_install_when_using_system_deps.patch - go with autosetup now OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/ejabberd?expand=0&rev=146
20 lines
780 B
Diff
20 lines
780 B
Diff
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"
|