27 lines
899 B
YAML
27 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'
|