From f0ebc7c02b686c7b812ac48cae89951c6be091b2 Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Wed, 20 Aug 2025 07:29:22 -0700 Subject: [PATCH 1/2] add hostname aliases to templates --- samples/standalone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/standalone.yml b/samples/standalone.yml index 99f9060b7..2fedc48eb 100644 --- a/samples/standalone.yml +++ b/samples/standalone.yml @@ -49,6 +49,8 @@ env: ## TODO: The domain name this Discourse instance will respond to ## Required. Discourse will not work with a bare IP number. DISCOURSE_HOSTNAME: 'discourse.example.com' + ## Other hostnames that should have a valid https certificate for (will redirect to hostname) + ## DISCOURSE_HOSTNAME_ALIASES: domain.com,other.domain.com ## Uncomment if you want the container to be started with the same ## hostname (-h option) as specified above (default "$hostname-$config") From 494f6c712ed52f4e9789c72d3162a5d4f565dfdc Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Wed, 20 Aug 2025 09:38:19 -0500 Subject: [PATCH 2/2] update web_only.yml --- samples/web_only.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/web_only.yml b/samples/web_only.yml index d335c847e..7e719de85 100644 --- a/samples/web_only.yml +++ b/samples/web_only.yml @@ -40,6 +40,8 @@ env: ## TODO: The domain name this Discourse instance will respond to DISCOURSE_HOSTNAME: 'discourse.example.com' + ## Other hostnames that should have a valid https certificate for (will redirect to hostname) + ## DISCOURSE_HOSTNAME_ALIASES: domain.com,other.domain.com ## Uncomment if you want the container to be started with the same ## hostname (-h option) as specified above (default "$hostname-$config")