From cdcce904c4e2dd62bc88defb2aa5035dc4bc9773 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 27 Jun 2025 02:19:09 +0100 Subject: [PATCH] community: fix acme-challenge redirect. Bump discourse version --- cookbooks/community/templates/default/web_only.yml.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cookbooks/community/templates/default/web_only.yml.erb b/cookbooks/community/templates/default/web_only.yml.erb index 547251b5f..4bfa9d5d5 100644 --- a/cookbooks/community/templates/default/web_only.yml.erb +++ b/cookbooks/community/templates/default/web_only.yml.erb @@ -19,7 +19,7 @@ links: # any extra arguments for Docker? # docker_args: -# Latest Version v3.4.5 +# Latest Version v3.4.6 # Discourse only support tests-passed and stable branches params: version: stable @@ -126,9 +126,8 @@ hooks: run: - replace: - filename: "/etc/nginx/conf.d/discourse.conf" + filename: "/etc/nginx/conf.d/outlets/before-server/20-redirect-http-to-https.conf" from: /listen 80;/ to: | listen 80; - listen [::]:80; rewrite ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 permanent; -- 2.39.5