[redirects-web/proxy] Try this instead



commit e3da46aca1a1862569333e2892e572b507bf0ed2
Author: Andrea Veri <averi redhat com>
Date:   Fri Jul 30 15:06:04 2021 +0200

    Try this instead

 conf.d/developer.gnome.org.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/conf.d/developer.gnome.org.conf b/conf.d/developer.gnome.org.conf
index e0a277d..2f60fce 100644
--- a/conf.d/developer.gnome.org.conf
+++ b/conf.d/developer.gnome.org.conf
@@ -7,8 +7,11 @@ server {
         proxy_set_header Host teams.pages.gitlab.gnome.org;
         proxy_set_header X-Forwarded-Host "";
 
-        rewrite ^/platform-overview/unstable$ /documentation/introduction.html last; 
+        proxy_redirect //teams.pages.gitlab.gnome.org/documentation/developer-www/ 
https://developer.gnome.org/;
+        proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www/;
+    }
 
+    location /platform-overview/unstable {
         proxy_redirect //teams.pages.gitlab.gnome.org/documentation/developer-www/ 
https://developer.gnome.org/;
         proxy_pass https://teams.pages.gitlab.gnome.org/documentation/developer-www;
     }


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