[redirects-web] Move it early on the conf file



commit 2bb828afa0ab4708ad89632c3bc50ea7bb93420d
Author: Andrea Veri <averi redhat com>
Date:   Wed Feb 19 15:18:11 2020 +0100

    Move it early on the conf file

 app_data/httpd-cfg/gtk.org.conf | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/app_data/httpd-cfg/gtk.org.conf b/app_data/httpd-cfg/gtk.org.conf
index 42e0766..9f496cf 100644
--- a/app_data/httpd-cfg/gtk.org.conf
+++ b/app_data/httpd-cfg/gtk.org.conf
@@ -5,14 +5,15 @@
     SSLProxyEngine On
     SSLProxyCheckPeerCN on
     SSLProxyCheckPeerExpire on
+
+    RequestHeader set Host "infrastructure.pages.gitlab.gnome.org"
+    ProxyPreserveHost On
+
     ProxyPass / https://infrastructure.pages.gitlab.gnome.org/gtk-web/ retry=0
     ProxyPass /.well-known/acme-challenge !
     ProxyPassReverse / https://infrastructure.pages.gitlab.gnome.org/gtk-web/ 
     ProxyAddHeaders Off
 
-    RequestHeader set Host "infrastructure.pages.gitlab.gnome.org"
-    ProxyPreserveHost On
-
     <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]