Added docs for config options

This commit is contained in:
kolaente 2019-10-13 17:11:08 +02:00
parent e9fc56150c
commit 9164819e72
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 12 additions and 0 deletions

View File

@ -106,3 +106,9 @@ ratelimit:
limit: 100
# The store where the limit counter for each user is stored. Possible values are "memory" or "redis"
store: memory
files:
# The path where files are stored
basepath: ./files # relative to the binary
# The maximum size of a file, in bytes.
maxsize: 21474836480 # 20 MB

View File

@ -149,4 +149,10 @@ ratelimit:
limit: 100
# The store where the limit counter for each user is stored. Possible values are "memory" or "redis"
store: memory
files:
# The path where files are stored
basepath: ./files # relative to the binary
# The maximum size of a file, in bytes.
maxsize: 21474836480 # 20 MB
{{< /highlight >}}