~xenrox/ansible

1c5c8bb4edfa21c43f7711a2515326de7a836d19 — Thorben Günther 2 months ago 1b8a02e
matrix: Update config

1.57.0 release.
1 files changed, 38 insertions(+), 2 deletions(-)

M roles/matrix/templates/homeserver.yaml.j2
M roles/matrix/templates/homeserver.yaml.j2 => roles/matrix/templates/homeserver.yaml.j2 +38 -2
@@ 1,3 1,16 @@
# Configuration options that take a time period can be set using a number
# followed by a letter. Letters have the following meanings:
# s = second
# m = minute
# h = hour
# d = day
# w = week
# y = year
# For example, setting redaction_retention_period: 5m would remove redacted
# messages from the database after 5 minutes, rather than 5 months.

################################################################################

# Configuration file for Synapse.
#
# This is a YAML file: see [1] for a quick introduction. Note in particular


@@ 513,6 526,15 @@ templates:
  #
  #custom_template_directory: /path/to/custom/templates/

# List of rooms to exclude from sync responses. This is useful for server
# administrators wishing to group users into a room without these users being able
# to see it from their client.
#
# By default, no room is excluded.
#
#exclude_rooms_from_sync:
#    - !foo:example.com


# Message retention policy at the server level.
#


@@ 757,6 779,12 @@ caches:
# 'txn_limit' gives the maximum number of transactions to run per connection
# before reconnecting. Defaults to 0, which means no limit.
#
# 'allow_unsafe_locale' is an option specific to Postgres. Under the default behavior, Synapse will refuse to
# start if the postgres db is set to a non-C locale. You can override this behavior (which is *not* recommended)
# by setting 'allow_unsafe_locale' to true. Note that doing so may corrupt your database. You can find more information
# here: https://matrix-org.github.io/synapse/latest/postgres.html#fixing-incorrect-collate-or-ctype and here:
# https://wiki.postgresql.org/wiki/Locale_data_changes
#
# 'args' gives options which are passed through to the database engine,
# except for options starting 'cp_', which are used to configure the Twisted
# connection pool. For a reference to valid arguments, see:


@@ 1185,10 1213,18 @@ turn_allow_guests: false
# Registration can be rate-limited using the parameters in the "Ratelimiting"
# section of this file.

# Enable registration for new users.
# Enable registration for new users. Defaults to 'false'. It is highly recommended that if you enable registration,
# you use either captcha, email, or token-based verification to verify that new users are not bots. In order to enable registration
# without any verification, you must also set `enable_registration_without_verification`, found below.
#
#enable_registration: false

# Enable registration without email or captcha verification. Note: this option is *not* recommended,
# as registration without verification is a known vector for spam and abuse. Defaults to false. Has no effect
# unless `enable_registration` is also enabled.
#
#enable_registration_without_verification: true

# Time that a user's session remains valid for, after they log in.
#
# Note that this is not currently compatible with guest logins.


@@ 2225,7 2261,7 @@ email:

  # The port on the mail server for outgoing SMTP. Defaults to 25.
  #
  smtp_port: 465
  smtp_port: 587

  # Username/password for authentication to the SMTP server. By default, no
  # authentication is attempted.