Support separate DOMAIN vs SERVER_NAME
All checks were successful
continuous-integration/drone/push Build is passing

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

@ -1,6 +1,6 @@
export DISCORD_BRIDGE_YAML_VERSION=v2
export ENTRYPOINT_CONF_VERSION=v1
export HOMESERVER_YAML_VERSION=v21
export HOMESERVER_YAML_VERSION=v22
export LOG_CONFIG_VERSION=v2
export SHARED_SECRET_AUTH_VERSION=v1
export SIGNAL_BRIDGE_YAML_VERSION=v4

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