matrix/roles/synapse/defaults/main/homeserver.server.yml

79 lines
3.3 KiB
YAML

---
# Config options from the `server` section of
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#server
synapse_config_pid_file: "{{ synapse_pid_file }}"
synapse_config_public_baseurl: "https://{{ synapse_config_server_name }}"
synapse_config_serve_server_wellknown: false
synapse_config_extra_well_known_client_content: {}
synapse_config_soft_file_limit: 0
synapse_config_require_auth_for_profile_requests: false
synapse_config_limit_profile_requests_to_users_who_share_rooms: false
synapse_config_include_profile_data_on_invite: true
synapse_config_allow_public_rooms_without_auth: false
synapse_config_allow_public_rooms_over_federation: false
synapse_config_default_room_version: "10"
synapse_config_filter_timeline_limit: 200
synapse_config_block_non_admin_invites: false
synapse_config_enable_search: true
synapse_config_dummy_events_threshold: 10
synapse_config_delete_stale_devices_after: "90d"
synapse_config_key_refresh_interval: "1d"
synapse_config_suppress_key_server_warning: false
synapse_config_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'
- '192.0.0.0/24'
- '169.254.0.0/16'
- '192.88.99.0/24'
- '198.18.0.0/15'
- '192.0.2.0/24'
- '198.51.100.0/24'
- '203.0.113.0/24'
- '224.0.0.0/4'
- '::1/128'
- 'fe80::/10'
- 'fc00::/7'
- '2001:db8::/32'
- 'ff00::/8'
- 'fec0::/10'
synapse_config_ip_range_whitelist: []
synapse_default_server_config:
server_name: "{{ synapse_config_server_name }}"
pid_file: "{{ synapse_config_pid_file }}"
listeners: "{{ synapse_listeners_config }}"
database: "{{ synapse_database_config }}"
log_config: "{{ synapse_config_log_config_path }}"
signing_key_path: "{{ synapse_config_signing_key_path }}"
key_refresh_interval: "{{ synapse_config_key_refresh_interval }}"
trusted_key_servers: "{{ synapse_config_trusted_key_servers }}"
suppress_key_server_warning: "{{ synapse_config_suppress_key_server_warning }}"
public_baseurl: "{{ synapse_config_public_baseurl }}"
serve_server_wellknown: "{{ synapse_config_serve_server_wellknown }}"
extra_well_known_client_content: >-
{{ synapse_config_extra_well_known_client_content }}
soft_file_limit: "{{ synapse_config_soft_file_limit }}"
# presence: TODO
require_auth_for_profile_requests: >-
{{ synapse_config_require_auth_for_profile_requests }}
limit_profile_requests_to_users_who_share_rooms: >-
{{ synapse_config_limit_profile_requests_to_users_who_share_rooms }}
include_profile_data_on_invite: >-
{{ synapse_config_include_profile_data_on_invite }}
allow_public_rooms_without_auth: >-
{{ synapse_config_allow_public_rooms_without_auth }}
allow_public_rooms_over_federation: >-
{{ synapse_config_allow_public_rooms_over_federation }}
default_room_version: "{{ synapse_config_default_room_version }}"
filter_timeline_limit: "{{ synapse_config_filter_timeline_limit }}"
block_non_admin_invites: "{{ synapse_config_block_non_admin_invites }}"
enable_search: "{{ synapse_config_enable_search }}"
ip_range_blacklist: "{{ synapse_config_ip_range_blacklist }}"
ip_range_whitelist: "{{ synapse_config_ip_range_whitelist }}"
dummy_events_threshold: "{{ synapse_config_dummy_events_threshold }}"
delete_stale_devices_after: "{{ synapse_config_delete_stale_devices_after }}"