Talon/tests/testfiles/config/config.toml
ThetaDev 36b80bbbd9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: purge file storage daily
2023-04-02 17:36:01 +02:00

26 lines
834 B
TOML

[server]
address = "127.0.0.1:3000"
root_domain = "example.com"
internal_subdomain = "talon-i"
internal_url = "http://talon-i.example.com"
purge_interval = 60
# Talon compresses files when they are uploaded
# Here you can configure compression algorithms and levels
[compression]
gzip_en = true
gzip_level = 6
brotli_en = true
brotli_level = 7
# API keys for uploading websites
# You can configure the allowed domains per key (either a single string or a list of strings)
# Regexes can be used if they start and end with a slash
[keys.c32ff286c8ac1c3102625badf38ffd251ae0c4a56079d8ba490f320af63f1f47]
domains = "*"
[keys.21bdac19ffd22870d561b1d55b35eddd9029497107edb7b926aa3e7856bb409b]
domains = ["spotify-gender-ex", "rustypipe"]
[keys.04e99561e3824f387a217d141d2a3b46375de6864afbedf9c9a2cc102bc946a4]
domains = "/^talon-\\d+/"