[wgo2-web/oscp] Land two more /news rewrites



commit df99eab730798bd9434dc0777216392910efde67
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Mar 29 11:11:44 2021 +0200

    Land two more /news rewrites

 nginx.conf | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index 91a7bab..0a8133f 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -85,6 +85,8 @@ http {
            try_files $uri $uri/ /index.php?$args;
         }
 
+        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;
 
         rewrite ^/foundation/charter.html https://wiki.gnome.org/Foundation/Charter permanent;


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