[gimp-web/oscp] Exclude let's encrypt from the URLs we rewrite to gimp.org/registry
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] Exclude let's encrypt from the URLs we rewrite to gimp.org/registry
- Date: Thu, 21 May 2020 09:27:03 +0000 (UTC)
commit ded7f0d95657698d9972682959369020253877fb
Author: Andrea Veri <averi redhat com>
Date: Thu May 21 11:26:57 2020 +0200
Exclude let's encrypt from the URLs we rewrite to gimp.org/registry
www.gimp.org/app_data/httpd-cfg/registry.gimp.org.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/www.gimp.org/app_data/httpd-cfg/registry.gimp.org.conf
b/www.gimp.org/app_data/httpd-cfg/registry.gimp.org.conf
index 58b7bade..d083f390 100644
--- a/www.gimp.org/app_data/httpd-cfg/registry.gimp.org.conf
+++ b/www.gimp.org/app_data/httpd-cfg/registry.gimp.org.conf
@@ -1,7 +1,9 @@
<VirtualHost *:8080>
ServerName registry.gimp.org
- RedirectMatch 301 ^/(.*)$ https://www.gimp.org/registry/
+ RewriteEngine on
+ RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge
+ RewriteRule ^(.*) https://www.gimp.org/registry$1 [R,L]
</VirtualHost>
<LocationMatch "^/.well-known/acme-challenge">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]