[wgo2-web/oscp] Redirect /friends and /support-gnome to /donate



commit dfb6c5a5e50815c57f0e7229cac114f6ac4cda69
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Aug 17 13:29:37 2021 +0200

    Redirect /friends and /support-gnome to /donate

 nginx.conf | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index 5b4237a..054f1f0 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -85,6 +85,10 @@ http {
            try_files $uri $uri/ /index.php?$args;
         }
 
+        rewrite ^/friends/ https://www.gnome.org/donate/ permanent;
+        rewrite ^/support-gnome/ https://www.gnome.org/donate/ permanent;
+        rewrite ^/support-gnome/donate https://www.gnome.org/donate/ permanent;
+
         rewrite ^/news$ https://foundation.gnome.org/news/ permanent;
         rewrite ^/news/$ https://foundation.gnome.org/news/ permanent;
         rewrite ^/news/(.+) https://foundation.gnome.org/news/$1 permanent;


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