location /.well-known/webfinger {
add_header Access-Control-Allow-Origin '*';
return 301 https://mastodon.bitsnbytes.chat/$request_uri;
}
Is it possible to convert this Nginx into Apache2 .htaccess
?
.htaccessApache2nginx
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin '*';
return 301 https://mastodon.bitsnbytes.chat/$request_uri;
}
Is it possible to convert this Nginx into Apache2 .htaccess
?
Best Answer
In Apache /
.htaccess
this would be something like: