[puppet] Land pango.gnome.org on the aliases for letsencrypt redirect to work as expected
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [puppet] Land pango.gnome.org on the aliases for letsencrypt redirect to work as expected
- Date: Wed, 3 Apr 2019 12:01:51 +0000 (UTC)
commit 315098e1f195a67e06bd3bded32fa1de1753865b
Author: Andrea Veri <averi redhat com>
Date: Wed Apr 3 14:01:40 2019 +0200
Land pango.gnome.org on the aliases for letsencrypt redirect to work as expected
modules/httpd/files/sites.d/pango.org.conf | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/modules/httpd/files/sites.d/pango.org.conf b/modules/httpd/files/sites.d/pango.org.conf
index bb7c8295..e492969d 100644
--- a/modules/httpd/files/sites.d/pango.org.conf
+++ b/modules/httpd/files/sites.d/pango.org.conf
@@ -2,6 +2,7 @@
ServerName pango.org
ServerAlias wiki.pango.org
ServerAlias www.pango.org
+ ServerAlias pango.gnome.org
RedirectMatch permanent /(.*) https://www.pango.org/$1
</VirtualHost>
@@ -55,3 +56,7 @@
</Location>
</VirtualHost>
+
+<LocationMatch "^/.well-known/acme-challenge">
+ RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
+</LocationMatch>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]