1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Enable url preview and increase max upload size

Fix #159
This commit is contained in:
Josué Tille 2019-11-23 20:30:39 +01:00
parent 2220be97b1
commit 8693750c33
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -621,7 +621,7 @@ uploads_path: "/var/lib/matrix-__APP__/uploads"
# The largest allowed upload size in bytes
#
#max_upload_size: 10M
max_upload_size: 100M
# Maximum number of pixels that will be thumbnailed
#
@ -658,8 +658,8 @@ uploads_path: "/var/lib/matrix-__APP__/uploads"
#
# 'false' by default: uncomment the following to enable it (and specify a
# url_preview_ip_range_blacklist blacklist).
#
#url_preview_enabled: true
url_preview_enabled: true
# List of IP address CIDR ranges that the URL preview spider is denied
# from accessing. There are no defaults: you must explicitly
@ -674,17 +674,17 @@ uploads_path: "/var/lib/matrix-__APP__/uploads"
#
# This must be specified if url_preview_enabled is set. It is recommended that
# you uncomment the following list as a starting point.
#
#url_preview_ip_range_blacklist:
# - '127.0.0.0/8'
# - '10.0.0.0/8'
# - '172.16.0.0/12'
# - '192.168.0.0/16'
# - '100.64.0.0/10'
# - '169.254.0.0/16'
# - '::1/128'
# - 'fe80::/64'
# - 'fc00::/7'
url_preview_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
# List of IP address CIDR ranges that the URL preview spider is allowed
# to access even if they are specified in url_preview_ip_range_blacklist.