2019-10-18 08:51:15 +01:00
|
|
|
no_tls: True
|
2019-10-12 14:46:57 +01:00
|
|
|
tls_fingerprints: [{ "sha256": "/HCvvvL0fZZb3BsgA8KIegBijVjk4UCbA9od18BLxOE" }]
|
2019-10-12 13:52:04 +01:00
|
|
|
pid_file: /run/matrix-synapse.pid
|
|
|
|
soft_file_limit: 0
|
|
|
|
use_presence: true
|
2019-10-20 16:26:13 +01:00
|
|
|
server_name: home.suborbit.com
|
2019-10-12 13:52:04 +01:00
|
|
|
listeners:
|
|
|
|
- port: 8008
|
|
|
|
tls: false
|
2019-10-12 14:46:57 +01:00
|
|
|
bind_addresses: ["0.0.0.0"]
|
2019-10-12 13:52:04 +01:00
|
|
|
type: http
|
|
|
|
x_forwarded: true
|
|
|
|
resources:
|
|
|
|
- names: [client]
|
|
|
|
compress: true
|
|
|
|
- names: [federation]
|
|
|
|
compress: false
|
|
|
|
database:
|
|
|
|
name: "sqlite3"
|
|
|
|
args:
|
2019-10-20 15:25:37 +01:00
|
|
|
database: "/data/homeserver.db"
|
2019-10-12 13:52:04 +01:00
|
|
|
event_cache_size: "10K"
|
|
|
|
rc_messages_per_second: 0.2
|
|
|
|
rc_message_burst_count: 10.0
|
|
|
|
federation_rc_window_size: 1000
|
|
|
|
federation_rc_sleep_limit: 10
|
|
|
|
federation_rc_sleep_delay: 500
|
|
|
|
federation_rc_reject_limit: 5
|
|
|
|
federation_rc_concurrent: 1
|
2019-10-20 15:25:37 +01:00
|
|
|
media_store_path: "/data/media"
|
|
|
|
uploads_path: "/data/uploads"
|
2019-10-12 13:52:04 +01:00
|
|
|
max_upload_size: "100M"
|
|
|
|
max_image_pixels: "64M"
|
|
|
|
dynamic_thumbnails: false
|
|
|
|
thumbnail_sizes:
|
2019-10-12 14:46:57 +01:00
|
|
|
- width: 32
|
|
|
|
height: 32
|
|
|
|
method: crop
|
|
|
|
- width: 96
|
|
|
|
height: 96
|
|
|
|
method: crop
|
|
|
|
- width: 320
|
|
|
|
height: 240
|
|
|
|
method: scale
|
|
|
|
- width: 640
|
|
|
|
height: 480
|
|
|
|
method: scale
|
|
|
|
- width: 800
|
|
|
|
height: 600
|
|
|
|
method: scale
|
2019-10-12 13:52:04 +01:00
|
|
|
url_preview_enabled: False
|
|
|
|
url_preview_ip_range_blacklist:
|
2019-10-12 14:46:57 +01:00
|
|
|
- "127.0.0.0/8"
|
|
|
|
- "10.0.0.0/8"
|
|
|
|
- "::1/128"
|
|
|
|
- "fe80::/64"
|
|
|
|
- "fc00::/7"
|
2019-10-12 13:52:04 +01:00
|
|
|
max_spider_size: "10M"
|
|
|
|
recaptcha_public_key: "YOUR_PUBLIC_KEY"
|
|
|
|
recaptcha_private_key: "YOUR_PRIVATE_KEY"
|
|
|
|
enable_registration_captcha: False
|
|
|
|
recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"
|
|
|
|
turn_user_lifetime: "1h"
|
|
|
|
turn_allow_guests: True
|
|
|
|
enable_registration: False
|
|
|
|
bcrypt_rounds: 12
|
|
|
|
allow_guest_access: False
|
|
|
|
autocreate_auto_join_rooms: true
|
|
|
|
enable_metrics: False
|
|
|
|
report_stats: false
|
|
|
|
room_invite_state_types:
|
2019-10-12 14:46:57 +01:00
|
|
|
- "m.room.join_rules"
|
|
|
|
- "m.room.canonical_alias"
|
|
|
|
- "m.room.avatar"
|
|
|
|
- "m.room.name"
|
2019-10-12 13:52:04 +01:00
|
|
|
app_service_config_files: []
|
|
|
|
track_appservice_user_ips: False
|
|
|
|
expire_access_token: False
|
2019-10-20 15:25:37 +01:00
|
|
|
signing_key_path: "/config/homeserver.signing.key"
|
2019-10-12 13:52:04 +01:00
|
|
|
old_signing_keys: {}
|
|
|
|
key_refresh_interval: "1d" # 1 Day.
|
|
|
|
trusted_key_servers:
|
|
|
|
- server_name: "matrix.org"
|
|
|
|
password_config:
|
2019-10-12 14:46:57 +01:00
|
|
|
enabled: true
|
|
|
|
pepper: "{{ password_pepper }}"
|
2019-10-12 13:52:04 +01:00
|
|
|
enable_group_creation: false
|
|
|
|
alias_creation_rules:
|
2019-10-12 14:46:57 +01:00
|
|
|
- user_id: "*"
|
|
|
|
alias: "*"
|
|
|
|
action: allow
|
2019-11-13 17:38:53 +00:00
|
|
|
allow_public_rooms_without_auth: false
|
|
|
|
allow_public_rooms_over_federation: false
|