[wgo2-web/oscp] Proxy /release-notes/ to GitLab pages



commit bb94d679fff7c486f354c2dcafb5cac772cbec46
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Sep 21 13:04:08 2021 +0200

    Proxy /release-notes/ to GitLab pages

 nginx.conf | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index ef14b16..593eba6 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -279,6 +279,12 @@ http {
             expires max;
         }
 
+        location /release-notes/ {
+            proxy_set_header Host teams.pages.gitlab.gnome.org;
+            proxy_set_header X-Forwarded-Host "";
+            proxy_pass https://teams.pages.gitlab.gnome.org:443/Engagement/release-notes/;
+        }
+
         location / {
             try_files $uri $uri/ /index.php?$args;
         }


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