add component name var

This commit is contained in:
meaz 2022-01-22 17:38:50 +01:00
parent 421c71e9a0
commit cbf04cd680
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4

View file

@ -1,10 +1,11 @@
## http_file_share
prosody_http_file_share_enabled: 'false'
prosody_http_file_share_enabled: 'true'
prosody_http_file_share_size_limit = 10*1024*1024
prosody_http_file_share_daily_quota = 100*1024*1024 -- 100 MiB per day per user
prosody_http_file_share_global_quota = 1024*1024*1024 -- 1 GiB total
prosody_http_file_share_expires_after = 7 * 86400 -- 1 week
prosody_http_file_share_allowed_file_types = {} -- Access control
prosody_http_file_share_safe_file_types = {"image/*","video/*","audio/*","text/plain"} -- Safe to show in-line in e.g. browsers
prosody_http_file_share_access = {} -- Access control
prosody_http_file_share_component: 'upload.example.org'
prosody_http_file_share_size_limit: "10*1024*1024"
prosody_http_file_share_daily_quota: "100*1024*1024 -- 100 MiB per day per user"
prosody_http_file_share_global_quota: "1024*1024*1024 -- 1 GiB total"
prosody_http_file_share_expires_after: "7 * 86400 -- 1 week"
prosody_http_file_share_allowed_file_types: "{} -- Access control"
prosody_http_file_share_safe_file_types: '{"image/*","video/*","audio/*","text/plain"} -- Safe to show in-line in e.g. browsers'
prosody_http_file_share_access: "{} -- Access control"