|
|
|
@ -50,13 +50,7 @@ server_name: "{{ matrix_domain }}"
|
|
|
|
|
#
|
|
|
|
|
pid_file: /homeserver.pid
|
|
|
|
|
|
|
|
|
|
# The absolute URL to the web client which /_matrix/client will redirect
|
|
|
|
|
# to if 'webclient' is configured under the 'listeners' configuration.
|
|
|
|
|
#
|
|
|
|
|
# This option can be also set to the filesystem path to the web client
|
|
|
|
|
# which will be served at /_matrix/client/ if 'webclient' is configured
|
|
|
|
|
# under the 'listeners' configuration, however this is a security risk:
|
|
|
|
|
# https://github.com/matrix-org/synapse#security-note
|
|
|
|
|
# The absolute URL to the web client which / will redirect to.
|
|
|
|
|
#
|
|
|
|
|
#web_client_location: https://riot.example.com/
|
|
|
|
|
|
|
|
|
@ -140,7 +134,7 @@ allow_public_rooms_over_federation: {{ matrix_synapse_allow_public_rooms_over_fe
|
|
|
|
|
# The default room version for newly created rooms.
|
|
|
|
|
#
|
|
|
|
|
# Known room versions are listed here:
|
|
|
|
|
# https://matrix.org/docs/spec/#complete-list-of-room-versions
|
|
|
|
|
# https://spec.matrix.org/latest/rooms/#complete-list-of-room-versions
|
|
|
|
|
#
|
|
|
|
|
# For example, for room version 1, default_room_version should be set
|
|
|
|
|
# to "1".
|
|
|
|
@ -285,8 +279,6 @@ default_room_version: {{ matrix_synapse_default_room_version|to_json }}
|
|
|
|
|
# static: static resources under synapse/static (/_matrix/static). (Mostly
|
|
|
|
|
# useful for 'fallback authentication'.)
|
|
|
|
|
#
|
|
|
|
|
# webclient: A web client. Requires web_client_location to be set.
|
|
|
|
|
#
|
|
|
|
|
listeners:
|
|
|
|
|
{% if matrix_synapse_metrics_enabled %}
|
|
|
|
|
- type: metrics
|
|
|
|
@ -1535,6 +1527,21 @@ room_prejoin_state:
|
|
|
|
|
#additional_event_types:
|
|
|
|
|
# - org.example.custom.event.type
|
|
|
|
|
|
|
|
|
|
# We record the IP address of clients used to access the API for various
|
|
|
|
|
# reasons, including displaying it to the user in the "Where you're signed in"
|
|
|
|
|
# dialog.
|
|
|
|
|
#
|
|
|
|
|
# By default, when puppeting another user via the admin API, the client IP
|
|
|
|
|
# address is recorded against the user who created the access token (ie, the
|
|
|
|
|
# admin user), and *not* the puppeted user.
|
|
|
|
|
#
|
|
|
|
|
# Uncomment the following to also record the IP address against the puppeted
|
|
|
|
|
# user. (This also means that the puppeted user will count as an "active" user
|
|
|
|
|
# for the purpose of monthly active user tracking - see 'limit_usage_by_mau' etc
|
|
|
|
|
# above.)
|
|
|
|
|
#
|
|
|
|
|
#track_puppeted_user_ips: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# A list of application service config files to use
|
|
|
|
|
#
|
|
|
|
@ -1900,10 +1907,13 @@ saml2_config:
|
|
|
|
|
# Defaults to false. Avoid this in production.
|
|
|
|
|
#
|
|
|
|
|
# user_profile_method: Whether to fetch the user profile from the userinfo
|
|
|
|
|
# endpoint. Valid values are: 'auto' or 'userinfo_endpoint'.
|
|
|
|
|
# endpoint, or to rely on the data returned in the id_token from the
|
|
|
|
|
# token_endpoint.
|
|
|
|
|
#
|
|
|
|
|
# Valid values are: 'auto' or 'userinfo_endpoint'.
|
|
|
|
|
#
|
|
|
|
|
# Defaults to 'auto', which fetches the userinfo endpoint if 'openid' is
|
|
|
|
|
# included in 'scopes'. Set to 'userinfo_endpoint' to always fetch the
|
|
|
|
|
# Defaults to 'auto', which uses the userinfo endpoint if 'openid' is
|
|
|
|
|
# not included in 'scopes'. Set to 'userinfo_endpoint' to always use the
|
|
|
|
|
# userinfo endpoint.
|
|
|
|
|
#
|
|
|
|
|
# allow_existing_users: set to 'true' to allow a user logging in via OIDC to
|
|
|
|
|