add well-known file

This commit is contained in:
Arya 2024-02-29 20:46:43 +05:30
parent 041f9df702
commit 3c85c3ca29
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -241,6 +241,12 @@ matrixmpp.projectsegfau.lt https://matrixmpp.projectsegfau.lt:8448 {
reverse_proxy :8446 { reverse_proxy :8446 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
} }
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
handle_path /.well-known/* {
root * /var/www/matrixmpp-well-known
file_server
}
import acmedns import acmedns
} }