[redirects-web] Needs a condition to exclude the LE endpoint
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web] Needs a condition to exclude the LE endpoint
- Date: Mon, 10 Jan 2022 16:56:06 +0000 (UTC)
commit 2a71253e3f110d5a628d2caaa3e62206e9bc9da2
Author: Andrea Veri <averi redhat com>
Date: Mon Jan 10 17:55:58 2022 +0100
Needs a condition to exclude the LE endpoint
app_data/httpd-cfg/build.gimp.org.conf | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/app_data/httpd-cfg/build.gimp.org.conf b/app_data/httpd-cfg/build.gimp.org.conf
index 00cf094..940e436 100644
--- a/app_data/httpd-cfg/build.gimp.org.conf
+++ b/app_data/httpd-cfg/build.gimp.org.conf
@@ -1,7 +1,9 @@
<VirtualHost *:8080>
- ServerName build.gimp.org
+ ServerName build.gimp.org
- RedirectPermanent / https://gitlab.gnome.org/GNOME/gimp/-/pipelines
+ RewriteEngine On
+ RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
+ RewriteRule ^(.*) https://gitlab.gnome.org/GNOME/gimp/-/pipelines [R=301]
</VirtualHost>
<LocationMatch "^/.well-known/acme-challenge">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]