Lol.. I had already answered this question two years ago.
This context at the end of vhost.conf is the key.
context /.well-known {
location $DOC_ROOT/
allowBrowse 1
extraHeaders Access-Control-Allow-Origin *
rewrite {
RewriteFile .htaccess
}
addDefaultCharset off
phpIniOverride {
}
}