From cf45311c4cd63fd0875fff0034fb59b93ccc6fd4 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Fri, 31 Jan 2020 09:59:37 +0100 Subject: [PATCH] proxies-websites: Switch retrace to LetsEncrypt Signed-off-by: Ernestas Kulik --- playbooks/include/proxies-rewrites.yml | 8 ++++++++ playbooks/include/proxies-websites.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/playbooks/include/proxies-rewrites.yml b/playbooks/include/proxies-rewrites.yml index db1aff665..feb68db59 100644 --- a/playbooks/include/proxies-rewrites.yml +++ b/playbooks/include/proxies-rewrites.yml @@ -58,3 +58,11 @@ status: 301 target: https://fedoraproject.org/static/images/favicon.ico + - role: httpd/domainrewrite + destname: certbot + website: retrace.fedoraproject.org + path: ^/\.well-known/(.*) + status: 301 + target: /var/www/html/.well-known/$1 + when: env == "staging" + diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index d2b2563c1..da73a44fc 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -699,7 +699,7 @@ site_name: retrace.fedoraproject.org server_aliases: [retrace.stg.fedoraproject.org] sslonly: true - cert_name: "{{wildcard_cert_name}}" + certbot: true when: env == "staging" - role: httpd/website -- 2.24.1