Browse Source

Redirect /donate to the page on the Docs site

merge-requests/85/head
Deimos 5 years ago
parent
commit
1974d44de9
  1. 3
      salt/salt/nginx/tildes.conf.jinja2

3
salt/salt/nginx/tildes.conf.jinja2

@ -21,6 +21,9 @@ server {
} }
rewrite ^/(.*)/$ https://$host$port/$1 permanent; 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 # redirect /u/username to /user/username
rewrite ^/u/(.*)$ https://$host$port/user/$1; rewrite ^/u/(.*)$ https://$host$port/user/$1;

Loading…
Cancel
Save