[redirects-web/proxy] Unset X-Forwarded-Host



commit 746a148d33112c2f868fb2ba677e0e982f8a8bd6
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Nov 10 13:49:02 2020 +0100

    Unset X-Forwarded-Host

 conf.d/circle.gnome.org.conf | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/conf.d/circle.gnome.org.conf b/conf.d/circle.gnome.org.conf
index a02efdd..26df9ad 100644
--- a/conf.d/circle.gnome.org.conf
+++ b/conf.d/circle.gnome.org.conf
@@ -5,6 +5,7 @@ server {
 
     location / {
         proxy_set_header Host teams.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
         proxy_pass https://teams.pages.gitlab.gnome.org:443/Circle/;
     }
 }


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