[wgo2-web/oscp] Redirect /friends and /support-gnome to /donate
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo2-web/oscp] Redirect /friends and /support-gnome to /donate
- Date: Tue, 17 Aug 2021 11:30:03 +0000 (UTC)
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]