#1630 Redirect discussions.fedoraproject.org to discussion.fedoraproject.org
Merged a year ago by kevin. Opened a year ago by leo.
fedora-infra/ leo/ansible discussion-redirect  into  main

@@ -870,3 +870,11 @@ 

      target: https://fedoraproject.org/cloud/

      tags:

      - cloud

+ 

+   - role: httpd/redirectmatch

+     shortname: 00-discussion-redirect

+     website: discussions.fedoraproject.org

+     regex: ^.*

+     target: https://discussion.fedoraproject.org

+     tags:

+     - discussion

@@ -1173,3 +1173,11 @@ 

      cert_name: "{{wildcard_cert_name}}"

      tags:

      - directory

+ 

+   - role: httpd/website

+     site_name: discussions.fedoraproject.org

+     ssl: true

+     sslonly: true

+     cert_name: "{{wildcard_cert_name}}"

+     tags:

+     - discussion

Fixes #11616

Adds https://discussions.fedoraproject.org to the proxy and creates a LE cert for it, then redirects it to https://discussion.fedoraproject.org.
This depends on this other patch that should be added to the DNS repo:

diff --git a/fedoraproject.org.template b/fedoraproject.org.template
index 4d64f9df..a7c2609c 100644
--- a/fedoraproject.org.template
+++ b/fedoraproject.org.template
@@ -447,6 +447,7 @@ developer       IN    CNAME wildcard
 developers      IN    CNAME wildcard
 devnull         IN    A     0.0.0.0
 discussion      IN    CNAME fedoraproject.hosted-by-discourse.com.
+discussions      IN    CNAME wildcard
 directory       IN    CNAME wildcard
 discourse2fedmsg IN    CNAME wildcard
 doc             IN    CNAME wildcard

rebased onto 92961228be958221f9daaaeded9ef74fc5d38562

a year ago

rebased onto 876482646f864e7e9cc7aa29e4ddf9d813cfc4f9

a year ago

rebased onto 9f0cfc0

a year ago

Looks good to me. Thanks for the PR!

Pull-Request has been merged by kevin

a year ago