mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-12-21 23:31:34 -05:00
Add missing config server.yaml
Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
This commit is contained in:
parent
e8ce11bcd3
commit
2ffd236906
122
etc/matrix-synapse/conf.d/server.yaml
Normal file
122
etc/matrix-synapse/conf.d/server.yaml
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
# 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
|
||||||
|
#
|
||||||
|
web_client_location: https://element.arcticfoxes.net/
|
||||||
|
|
||||||
|
# The public-facing base URL that clients use to access this Homeserver (not
|
||||||
|
# including _matrix/...). This is the same URL a user might enter into the
|
||||||
|
# 'Custom Homeserver URL' field on their client. If you use Synapse with a
|
||||||
|
# reverse proxy, this should be the URL to reach Synapse via the proxy.
|
||||||
|
# Otherwise, it should be the URL to reach Synapse's client HTTP listener (see
|
||||||
|
# 'listeners' below).
|
||||||
|
#
|
||||||
|
# Defaults to 'https://<server_name>/'.
|
||||||
|
#
|
||||||
|
public_baseurl: https://matrix.arcticfoxes.net/
|
||||||
|
|
||||||
|
# Uncomment the following to tell other servers to send federation traffic on
|
||||||
|
# port 443.
|
||||||
|
#
|
||||||
|
# By default, other servers will try to reach our server on port 8448, which can
|
||||||
|
# be inconvenient in some environments.
|
||||||
|
#
|
||||||
|
# Provided 'https://<server_name>/' on port 443 is routed to Synapse, this
|
||||||
|
# option configures Synapse to serve a file at
|
||||||
|
# 'https://<server_name>/.well-known/matrix/server'. This will tell other
|
||||||
|
# servers to send traffic to port 443 instead.
|
||||||
|
#
|
||||||
|
# See https://matrix-org.github.io/synapse/latest/delegate.html for more
|
||||||
|
# information.
|
||||||
|
#
|
||||||
|
# Defaults to 'false'.
|
||||||
|
#
|
||||||
|
serve_server_wellknown: true
|
||||||
|
|
||||||
|
# Set the soft limit on the number of file descriptors synapse can use
|
||||||
|
# Zero is used to indicate synapse should set the soft limit to the
|
||||||
|
# hard limit.
|
||||||
|
#
|
||||||
|
#soft_file_limit: 0
|
||||||
|
|
||||||
|
# Presence tracking allows users to see the state (e.g online/offline)
|
||||||
|
# of other local and remote users.
|
||||||
|
#
|
||||||
|
presence:
|
||||||
|
# Uncomment to disable presence tracking on this homeserver. This option
|
||||||
|
# replaces the previous top-level 'use_presence' option.
|
||||||
|
#
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
# Whether to require authentication to retrieve profile data (avatars,
|
||||||
|
# display names) of other users through the client API. Defaults to
|
||||||
|
# 'false'. Note that profile data is also available via the federation
|
||||||
|
# API, unless allow_profile_lookup_over_federation is set to false.
|
||||||
|
#
|
||||||
|
#require_auth_for_profile_requests: true
|
||||||
|
|
||||||
|
# Uncomment to require a user to share a room with another user in order
|
||||||
|
# to retrieve their profile information. Only checked on Client-Server
|
||||||
|
# requests. Profile requests from other servers should be checked by the
|
||||||
|
# requesting server. Defaults to 'false'.
|
||||||
|
#
|
||||||
|
#limit_profile_requests_to_users_who_share_rooms: true
|
||||||
|
|
||||||
|
# Uncomment to prevent a user's profile data from being retrieved and
|
||||||
|
# displayed in a room until they have joined it. By default, a user's
|
||||||
|
# profile data is included in an invite event, regardless of the values
|
||||||
|
# of the above two settings, and whether or not the users share a server.
|
||||||
|
# Defaults to 'true'.
|
||||||
|
#
|
||||||
|
#include_profile_data_on_invite: false
|
||||||
|
|
||||||
|
# If set to 'true', removes the need for authentication to access the server's
|
||||||
|
# public rooms directory through the client API, meaning that anyone can
|
||||||
|
# query the room directory. Defaults to 'false'.
|
||||||
|
#
|
||||||
|
#allow_public_rooms_without_auth: true
|
||||||
|
|
||||||
|
# If set to 'true', allows any other homeserver to fetch the server's public
|
||||||
|
# rooms directory via federation. Defaults to 'false'.
|
||||||
|
#
|
||||||
|
allow_public_rooms_over_federation: true
|
||||||
|
|
||||||
|
# The default room version for newly created rooms.
|
||||||
|
#
|
||||||
|
# Known room versions are listed here:
|
||||||
|
# https://matrix.org/docs/spec/#complete-list-of-room-versions
|
||||||
|
#
|
||||||
|
# For example, for room version 1, default_room_version should be set
|
||||||
|
# to "1".
|
||||||
|
#
|
||||||
|
#default_room_version: "6"
|
||||||
|
|
||||||
|
# The GC threshold parameters to pass to `gc.set_threshold`, if defined
|
||||||
|
#
|
||||||
|
#gc_thresholds: [700, 10, 10]
|
||||||
|
|
||||||
|
# The minimum time in seconds between each GC for a generation, regardless of
|
||||||
|
# the GC thresholds. This ensures that we don't do GC too frequently.
|
||||||
|
#
|
||||||
|
# A value of `[1s, 10s, 30s]` indicates that a second must pass between consecutive
|
||||||
|
# generation 0 GCs, etc.
|
||||||
|
#
|
||||||
|
# Defaults to `[1s, 10s, 30s]`.
|
||||||
|
#
|
||||||
|
#gc_min_interval: [0.5s, 30s, 1m]
|
||||||
|
|
||||||
|
# Set the limit on the returned events in the timeline in the get
|
||||||
|
# and sync operations. The default value is 100. -1 means no upper limit.
|
||||||
|
#
|
||||||
|
# Uncomment the following to increase the limit to 5000.
|
||||||
|
#
|
||||||
|
#filter_timeline_limit: 5000
|
||||||
|
|
||||||
|
# Whether room invites to users on this server should be blocked
|
||||||
|
# (except those sent by local server admins). The default is False.
|
||||||
|
#
|
||||||
|
#block_non_admin_invites: true
|
Loading…
Reference in New Issue
Block a user