forked from coop-cloud/tuwunel
CORS headers are sorted out, if a bit necessarily permissive SERVER_NAME and DOMAIN can be different and still server /_matrix and /.well-known/matrix correctly
21 lines
687 B
Plaintext
21 lines
687 B
Plaintext
TYPE=tuwunel
|
|
DOMAIN=tuwunel.example.com
|
|
LETS_ENCRYPT_ENV=production
|
|
COMPOSE_FILE="compose.yml"
|
|
|
|
## The name of the matrix server, but not neccessarily the domain name it will
|
|
## be accessed at. $SERVER_NAME will go in databases, including other servers'
|
|
## databases if you federate, so this is harder to change compared to a DNS
|
|
## record. Concretely,
|
|
## - users created on this matrix server will be known as "@user:$SERVER_NAME"
|
|
## - traefik will forward requests made to $DOMAIN or to $SERVER_NAME/_matrix
|
|
## to tuwunel.
|
|
SERVER_NAME=example.com
|
|
|
|
## Federation
|
|
ALLOW_FEDERATION=true
|
|
TRUSTED_SERVERS=["matrix.org"]
|
|
|
|
## Registration
|
|
ALLOW_REGISTRATION=true
|
|
SECRET_REG_TOKEN_VERSION=v1 |