From 1974d44de98f9e0ade6ee347b8a04b3be4630f90 Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 4 Nov 2019 18:25:59 -0700 Subject: [PATCH] Redirect /donate to the page on the Docs site --- salt/salt/nginx/tildes.conf.jinja2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/salt/salt/nginx/tildes.conf.jinja2 b/salt/salt/nginx/tildes.conf.jinja2 index d6bb8d7..a679a77 100644 --- a/salt/salt/nginx/tildes.conf.jinja2 +++ b/salt/salt/nginx/tildes.conf.jinja2 @@ -21,6 +21,9 @@ server { } rewrite ^/(.*)/$ https://$host$port/$1 permanent; + # redirect /donate to the page on the Docs site + rewrite ^/donate$ https://docs.tildes.net/donate redirect; + # redirect /u/username to /user/username rewrite ^/u/(.*)$ https://$host$port/user/$1;