[redirects-web/proxy] Rewrite REQUEST_URIs too



commit ab41f622b722ba18ad285274acf0fc594f49cb51
Author: Andrea Veri <averi redhat com>
Date:   Mon Aug 2 15:02:59 2021 +0200

    Rewrite REQUEST_URIs too

 conf.d/developer.gnome.org.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/conf.d/developer.gnome.org.conf b/conf.d/developer.gnome.org.conf
index ebb2030..3daa830 100644
--- a/conf.d/developer.gnome.org.conf
+++ b/conf.d/developer.gnome.org.conf
@@ -44,15 +44,15 @@ server {
     }
 
     location /glibmm {
-        return 301 https://developer-old.gnome.org/glibmm;
+        return 301 https://developer-old.gnome.org/glibmm$request_uri;
     }
 
     location /gtkmm {
-        return 301 https://developer-old.gnome.org/gtkmm;
+        return 301 https://developer-old.gnome.org/gtkmm$request_uri;
     }
 
     location /gtkmm-tutorial {
-        return 301 https://developer-old.gnome.org/gtkmm-tutorial;
+        return 301 https://developer-old.gnome.org/gtkmm-tutorial$request_uri;
     }
 
     location /platform-overview/unstable {


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