[redirects-web] We want outgoing headers to be modified



commit 7231faef4aa7322b34610539585b97de4cca3cdf
Author: Andrea Veri <averi redhat com>
Date:   Wed Feb 19 15:49:48 2020 +0100

    We want outgoing headers to be modified

 app_data/httpd-cfg/gtk.org.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app_data/httpd-cfg/gtk.org.conf b/app_data/httpd-cfg/gtk.org.conf
index 2e7606b..bbce7be 100644
--- a/app_data/httpd-cfg/gtk.org.conf
+++ b/app_data/httpd-cfg/gtk.org.conf
@@ -6,7 +6,8 @@
     SSLProxyCheckPeerCN on
     SSLProxyCheckPeerExpire on
 
-    RequestHeader set Host "infrastructure.pages.gitlab.gnome.org"
+    Header 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 !


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