Support separate DOMAIN vs SERVER_NAME

This commit is contained in:
3wc
2023-04-23 15:34:58 -04:00
parent f3732c8392
commit 50e0aa06cc
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ modules:
# lowercase and may contain an explicit port.
# Examples: matrix.org, localhost:8080
#
server_name: {{ env "DOMAIN" }}
server_name: {{ or (env "SERVER_NAME") (env "DOMAIN") }}
# 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