Netlify configuration to redirect a Mastodon handle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Netlify configuration to set up a Mastodon handle for your own domain that | |
# forwards to your real account. This configuration allows people to search for | |
# me with @jesse@sitr.us, and to find me @hallettj@hachyderm.io. | |
# | |
# Put a configuration like this in a file called _redirects in the *publish | |
# directory* of your Netlify project. For my Gatsby site I put the file in | |
# static/_redirects, and at build time it gets copied to public/_redirects. | |
# | |
# Redirect documentation for Netlify is at https://docs.netlify.com/routing/redirects/redirect-options/ | |
# Test redirect rules in the playground, https://play.netlify.com/redirects | |
/.well-known/nodeinfo resource=acct:jesse@sitr.us https://hachyderm.io/.well-known/nodeinfo?resource=acct:hallettj@hachyderm.io 301 | |
/.well-known/webfinger resource=acct:jesse@sitr.us https://hachyderm.io/.well-known/webfinger?resource=acct:hallettj@hachyderm.io 301 | |
/.well-known/host-meta resource=acct:jesse@sitr.us https://hachyderm.io/.well-known/host-meta?resource=acct:hallettj@hachyderm.io 301 | |
/@jesse https://hachyderm.io/@hallettj 301 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment