• Site name: multigrade.netlify.app
• Domain https://reh.at
I have setup a mastodon server on a subdomain on https://reh.at
and would like for the root domain to redirect requests not found on the routes. The documentation on mastodon mentions nginx redirects, specifically through the WEB_DOMAIN
environment variable.
Question: How would I go about setting up a redirect on my netlify hosted website? The documentation gives the following example:
location /.well-known/webfinger {
return 301 https://mastodon.example.com$request_uri;
}