Set the uploads dir inside of /opt/ejabberd instead of /var/www

/var/www is intended for nginx/apache

I have copied over the old directories manually on Andromeda before
running this code

Fixes #80
This commit is contained in:
Greg Karékinian
2019-07-19 12:47:42 +02:00
parent f887a88e2d
commit 0fa9e6cbb7
3 changed files with 3 additions and 10 deletions

View File

@@ -208,7 +208,7 @@ modules:
urls: ["mailto:abuse@@HOST@"]
mod_bosh: {}
mod_http_upload:
docroot: "/var/www/xmpp.@HOST@/uploads/"
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: {}