meaz
848f5e474e
A few things that needed to be fixed (errors that you can see with `prosodyctl check` on prod) + better match with `prosody.cfg.lua.dist` example from trunk Co-authored-by: meaz <meaz@disroot.org> Co-authored-by: muppeth <muppeth@disroot.org> Reviewed-on: #24 Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
26 lines
899 B
YAML
26 lines
899 B
YAML
## http_file_share
|
|
prosody_http_file_share_enabled: 'true'
|
|
|
|
prosody_http_file_share_component: 'upload.example.org'
|
|
prosody_http_file_share_options:
|
|
- name: 'http_file_share_size_limit'
|
|
value: '10*1024*1024'
|
|
description: '10MB file upload limit'
|
|
- name: 'http_file_share_daily_quota'
|
|
value: '100*1024*1024'
|
|
description: '100 MiB per day per user'
|
|
- name: 'http_file_share_global_quota'
|
|
value: '1024*1024*1024'
|
|
description: '1 GiB total'
|
|
- name: 'http_file_share_expires_after'
|
|
value: '7 * 86400'
|
|
description: '1 week'
|
|
- name: 'http_file_share_allowed_file_types'
|
|
value: '{}'
|
|
description: 'Access control'
|
|
- name: 'http_file_share_safe_file_types'
|
|
value: '{"image/*","video/*","audio/*","text/plain"}'
|
|
description: 'Safe to show in-line in e.g. browsers'
|
|
- name: 'http_file_share_access'
|
|
value: '{}'
|
|
description: 'Access control'
|