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:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user