[redirects-web/proxy] Fix Host headers for gtk.org and docs.gtk.org
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] Fix Host headers for gtk.org and docs.gtk.org
- Date: Fri, 19 Mar 2021 13:39:47 +0000 (UTC)
commit 231ff7c49ee99da820b06c8212ee9e8023f64fd7
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Mar 19 14:39:34 2021 +0100
Fix Host headers for gtk.org and docs.gtk.org
conf.d/docs.gtk.org.conf | 2 +-
conf.d/gtk.org.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/conf.d/docs.gtk.org.conf b/conf.d/docs.gtk.org.conf
index 181ea67..7c3f811 100644
--- a/conf.d/docs.gtk.org.conf
+++ b/conf.d/docs.gtk.org.conf
@@ -4,7 +4,7 @@ server {
server_name docs.gtk.org;
location / {
- proxy_set_header Host teams.pages.gitlab.gnome.org;
+ proxy_set_header Host gnome.pages.gitlab.gnome.org;
proxy_set_header X-Forwarded-Host "";
proxy_pass https://gnome.pages.gitlab.gnome.org/gtk/;
}
diff --git a/conf.d/gtk.org.conf b/conf.d/gtk.org.conf
index 8819d1a..ad9afc1 100644
--- a/conf.d/gtk.org.conf
+++ b/conf.d/gtk.org.conf
@@ -9,7 +9,7 @@ server {
rewrite ^/api/2.6/$ https://developer.gnome.org/gtk2/ permanent;
rewrite ^/api/2.6/(.*) https://developer.gnome.org/$1 permanent;
- proxy_set_header Host teams.pages.gitlab.gnome.org;
+ proxy_set_header Host infrastructure.pages.gitlab.gnome.org;
proxy_set_header X-Forwarded-Host "";
proxy_pass https://infrastructure.pages.gitlab.gnome.org/gtk-web/;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]