add SERVE_SERVER_WELLKNOWN variable
This config allows matrix-synapse to create a endpoint on $DOMAIN/.well-known/matrix/server used for federation. It's a straight forward way (no port opening required) to enable federation if you are okay having a subdomain (matrix.example.org) as your homeserver address.
This commit is contained in:
parent
005ce43f61
commit
c542629264
|
@ -15,6 +15,9 @@ COMPOSE_FILE="compose.yml"
|
|||
|
||||
#DISABLE_FEDERATION=1
|
||||
|
||||
# Set "true" to enable federation endpoint on $DOMAIN/.well-known/matrix/server
|
||||
SERVE_SERVER_WELLKNOWN=false
|
||||
|
||||
ENABLE_REGISTRATION=false
|
||||
PASSWORD_LOGIN_ENABLED=true
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ services:
|
|||
- PASSWORD_LOGIN_ENABLED
|
||||
- REDACTION_RETENTION_PERIOD
|
||||
- ROOT_LOG_LEVEL
|
||||
- SERVE_SERVER_WELLKNOWN
|
||||
- SQL_LOG_LEVEL
|
||||
- STACK_NAME
|
||||
- SYNAPSE_ADMIN_EMAIL
|
||||
|
|
|
@ -85,7 +85,7 @@ public_baseurl: https://{{ env "DOMAIN" }}/
|
|||
#
|
||||
# Defaults to 'false'.
|
||||
#
|
||||
#serve_server_wellknown: true
|
||||
serve_server_wellknown: {{ env "SERVE_SERVER_WELLKNOWN" }}
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue