I currently try to implement FedSocnet compatibility for my site and according to https://fed.brid.gy/#setup I need to redirect 4 URLs “with query parameters”. According to the Netlify redirect docs I need to exactly specify the parameters. Is there a way around this?
Since new users can only put 2 links in posts, I’ve to modify the rules below to meet the forum requirements.
These URLs should be redirected with Query Parameters
The redirection examples for Apache look like:
RewriteRule ^.well-known/(host-meta|webfinger).* hxxps://fed.brid.gy/$0 [redirect=302,last]
and for nginx
rewrite ^/.well-known/(host-meta|webfinger).* hxxps://fed.brid.gy$request_uri redirect;
What I tried so far:
/.well-known/* hxxps://fed.brid.gy/.well-known/:splat 200
/.well-known/host-meta* hxxps://fed.brid.gy/.well-known/host-meta* 200
/.well-known/webfinger* hxxps://fed.brid.gy/.well-known/webfinger* 200