diff options
author | Tristan Mahé <gled@remote-shell.net> | 2018-06-28 10:49:44 -0700 |
---|---|---|
committer | Tristan Mahé <gled@remote-shell.net> | 2018-06-28 10:49:44 -0700 |
commit | c06a5af386a3cdfeda0b2c21963d9200fb7d6c89 (patch) | |
tree | e19887fba03e6aeea6b7682480e90de068f57387 | |
parent | dc8ace29d12e8022ef7381d273724d7e5e7e3a19 (diff) | |
download | pleroma-c06a5af386a3cdfeda0b2c21963d9200fb7d6c89.tar.gz |
CONFIGURATION.md: add doc about upload and strip_exif
-rw-r--r-- | CONFIGURATION.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 3f0ecafb5..51a76d1b7 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -13,6 +13,21 @@ Instead, overload the settings by editing the following files: * `dev.secret.exs`: custom additional configuration for `MIX_ENV=dev` * `prod.secret.exs`: custom additional configuration for `MIX_ENV=prod` +## Uploads configuration + +To configure where to upload files, and wether or not +you want to remove automatically EXIF data from pictures +being uploaded. + + config :pleroma, Pleroma.Upload, + uploads: "uploads", + strip_exif: false + +* `uploads`: where to put the uploaded files, relative to pleroma's main directory. +* `strip_exif`: whether or not to remove EXIF data from uploaded pics automatically. + This needs Imagemagick installed on the system ( apt install imagemagick ). + + ## Block functionality config :pleroma, :activitypub, |