From c67c41f4674407719cb59a01da98536f96fa1977 Mon Sep 17 00:00:00 2001
From: H-Shay
Known room versions are listed here
For example, for room version 1, default_room_version
should be set
to "1".
Currently defaults to "9".
+Currently defaults to "10".
+Changed in Synapse 1.76: the default version room version was increased from 9 to 10.
Example configuration:
default_room_version: "8"
@@ -469,6 +470,11 @@ configuration.
port
: the TCP port to bind to.
tag
: An alias for the port in the logger name. If set the tag is logged instead
+of the port. Default to None
, is optional and only valid for listener with type: http
.
+See the docs request log format.
bind_addresses
: a list of local addresses to listen on. The default is
'all local interfaces'.
static
: static resources under synapse/static (/_matrix/static). (Mostly useful for 'fallback authentication'.)
health
: the health check endpoint. This endpoint
+is by default active for all other resources and does not have to be activated separately.
+This is only useful if you want to use the health endpoint explicitly on a dedicated port or
+for workers and containers without listener e.g.
+application services.
Example configuration #1:
listeners:
@@ -3112,8 +3125,8 @@ will also not affect rooms created by other servers.
empty responses are returned to all queries. Defaults to true.
-search_all_users
: Defines whether to search all users visible to your HS when searching
-the user directory. If false, search results will only contain users
+
search_all_users
: Defines whether to search all users visible to your HS at the time the search is performed. If set to true, will return all users who share a room with the user from the homeserver.
+If false, search results will only contain users
visible in public rooms and users sharing a room with the requester.
Defaults to false.
NB. If you set this to true, and the last time the user_directory search
@@ -3570,6 +3583,20 @@ other workers.
- names: [client, federation]
worker_manhole
A worker may have a listener for manhole
.
+It allows server administrators to access a Python shell on the worker.
Example configuration:
+worker_manhole: 9000
+
+This is a short form for:
+worker_listeners:
+ - port: 9000
+ bind_addresses: ['127.0.0.1']
+ type: manhole
+
+It needs also an additional manhole_settings
configuration.
worker_daemonize
Specifies whether the worker should be started as a daemon process. If Synapse is being managed by systemd, this option diff --git a/latest/usage/configuration/homeserver_sample_config.html b/latest/usage/configuration/homeserver_sample_config.html index e48a4d48aa..ebcdf1a703 100644 --- a/latest/usage/configuration/homeserver_sample_config.html +++ b/latest/usage/configuration/homeserver_sample_config.html @@ -76,7 +76,7 @@ diff --git a/latest/usage/configuration/index.html b/latest/usage/configuration/index.html index 52e8264c9d..1c495971ca 100644 --- a/latest/usage/configuration/index.html +++ b/latest/usage/configuration/index.html @@ -76,7 +76,7 @@ diff --git a/latest/usage/configuration/logging_sample_config.html b/latest/usage/configuration/logging_sample_config.html index c5272f82bc..1c284bb5e2 100644 --- a/latest/usage/configuration/logging_sample_config.html +++ b/latest/usage/configuration/logging_sample_config.html @@ -76,7 +76,7 @@ @@ -148,9 +148,10 @@
Below is a sample logging configuration file. This file can be tweaked to control how your
-homeserver will output logs. A restart of the server is generally required to apply any
-changes made to this file. The value of the log_config
option in your homeserver
-config should be the path to this file.
log_config
option in your homeserver config
+should be the path to this file.
+To apply changes made to this file, send Synapse a SIGHUP signal (or, if using systemd
, run
+systemctl reload
on the Synapse service).
Note that a default logging configuration (shown below) is created automatically alongside
the homeserver config when following the installation instructions.
It should be named <SERVERNAME>.log.config
by default.