From 7abfe8502178e7fb6b14b90c1c9e81a579be7ace Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 20 Jun 2025 03:00:35 +0200 Subject: [PATCH] Solved https bug --- roles/docker-discourse/templates/discourse_application.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/docker-discourse/templates/discourse_application.yml.j2 b/roles/docker-discourse/templates/discourse_application.yml.j2 index bfe5c066..aad39d9c 100644 --- a/roles/docker-discourse/templates/discourse_application.yml.j2 +++ b/roles/docker-discourse/templates/discourse_application.yml.j2 @@ -115,6 +115,7 @@ hooks: ## Any custom commands to run after building run: - exec: echo "Beginning of custom commands" + - exec: rails r "SiteSetting.force_https = true" ## If you want to set the 'From' email address for your first registration, uncomment and change: ## After getting the first signup email, re-comment the line. It only needs to run once. #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"