[redirects-web] Try to workaround host sticking to gtk.org



commit 88d756d7b8fa2c0273530d9fa4a79c74c5bd05df
Author: Andrea Veri <averi redhat com>
Date:   Wed Feb 19 15:14:54 2020 +0100

    Try to workaround host sticking to gtk.org

 app_data/httpd-cfg/gtk.org.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/app_data/httpd-cfg/gtk.org.conf b/app_data/httpd-cfg/gtk.org.conf
index b779f39..42e0766 100644
--- a/app_data/httpd-cfg/gtk.org.conf
+++ b/app_data/httpd-cfg/gtk.org.conf
@@ -9,7 +9,9 @@
     ProxyPass /.well-known/acme-challenge !
     ProxyPassReverse / https://infrastructure.pages.gitlab.gnome.org/gtk-web/ 
     ProxyAddHeaders Off
-    ProxyPreserveHost Off
+
+    RequestHeader set Host "infrastructure.pages.gitlab.gnome.org"
+    ProxyPreserveHost On
 
     <LocationMatch "^/.well-known/acme-challenge">
       RedirectMatch ^(.*) https://letsencrypt.gnome.org$1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]