1
0

Removed config.yaml.

This commit is contained in:
Alexander Andreev 2023-05-24 22:20:22 +04:00
parent 332e9a1bb3
commit cc1cbeffcd
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -1,25 +0,0 @@
# Sets network type (could be tcp{,4,6}, unix)
# and address:port or /path/to/unix.sock to
# listen on.
listen_on: "unix /var/run/dwelling-upload/sock"
# Salt for hash of uploaded files.
# Aim is to make links bruteforcing useless.
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
# Logging options.
log:
# dwelling-upload logs.
error: "/var/log/dwelling-upload/error.log"
file: "/var/log/dwelling-upload/file.log"
# dwelling-upload-clean logs.
clean: "/var/log/dwelling-upload/clean.log"
clean_error: "/var/log/dwelling-upload/clean_error.log"
uploads:
# Path where to put uploaded files.
directory: "/srv/uploads"
limits:
# Maximum size of a file in MiB.
file_size: 128
# Amount of hours file will be keeped for.
keep_for_hours: 48
# Maximum size of a whole storage in MiB.
storage: 204800