Use redirects to point older feeds to index.xml

This commit is contained in:
Jez Cope 2021-04-01 21:09:59 +01:00
parent c66f94e5d2
commit 534a84eb55
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,9 @@
# Reverse proxy for webfinger
/.well-known/host-meta https://fed.brid.gy/.well-known/host-meta 200
/.well-known/host-meta.xrd https://fed.brid.gy/.well-known/host-meta.xrd 200
/.well-known/host-meta.jrd https://fed.brid.gy/.well-known/host-meta.jrd 200
/.well-known/webfinger https://fed.brid.gy/.well-known/webfinger 200
/.well-known/webfinger https://fed.brid.gy/.well-known/webfinger 200
# Redirect old RSS URLs
/feed.xml /index.xml
/rss.xml /index.xml

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<redirect>
<newLocation>/rss.xml</newLocation>
<newLocation>/index.xml</newLocation>
</redirect>