Files
tuwunel/.env.sample
Patrick Melanson 3d0418163b Battle-tested a deployment of 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
2026-03-19 19:36:29 -07:00

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