Created
November 20, 2022 23:24
-
-
Save hallettj/e469f88b96184ac909b7f768b80a3a4e to your computer and use it in GitHub Desktop.
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 @[email protected], and to find me @[email protected]. | |
# | |
# 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:[email protected] https://hachyderm.io/.well-known/nodeinfo?resource=acct:[email protected] 301 | |
/.well-known/webfinger resource=acct:[email protected] https://hachyderm.io/.well-known/webfinger?resource=acct:[email protected] 301 | |
/.well-known/host-meta resource=acct:[email protected] https://hachyderm.io/.well-known/host-meta?resource=acct:[email protected] 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