<LocationMatch "^/.well-known/matrix*">
<IfModule mod_headers.c>
   Header add Access-Control-Allow-Origin "*"
</IfModule>
   ForceType application/json
</LocationMatch>

RewriteEngine On
RewriteRule "^/.well-known/matrix/(.*)" "/srv/web/.well-known-matrix-$1-fedoraproject-org" [L]
