[redirects-web/proxy] Land a vhost for thisweek.g.o (https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/612)



commit c53123a946740d9a1a5c6b65eeb5a7f32e655c1f
Author: Andrea Veri <averi redhat com>
Date:   Wed Jul 14 12:04:16 2021 +0200

    Land a vhost for thisweek.g.o (https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/612)

 conf.d/thisweek.gnome.org.conf | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/conf.d/thisweek.gnome.org.conf b/conf.d/thisweek.gnome.org.conf
new file mode 100644
index 0000000..5c16f8d
--- /dev/null
+++ b/conf.d/thisweek.gnome.org.conf
@@ -0,0 +1,12 @@
+server {
+    listen 8080;
+    listen [::]:8080;
+    server_name thisweek.gnome.org; 
+
+    location / {
+        proxy_set_header Host world.pages.gitlab.gnome.org;
+        proxy_set_header X-Forwarded-Host "";
+        proxy_redirect //world.pages.gitlab.gnome.org/twig/ https://thisweek.gnome.org/;
+        proxy_pass https://world.pages.gitlab.gnome.org/twig/;
+    }
+}


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