Bootstrap well known repo for matrix usage

This commit is contained in:
Luke Murphy
2020-06-29 17:05:02 +02:00
commit c54c7ea0ed
4 changed files with 54 additions and 0 deletions

10
matrix/matrix.conf Normal file
View File

@ -0,0 +1,10 @@
server {
listen 80 default_server;
server_name autonomic.zone;
location /.well-known/matrix/ {
root /var/www/;
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
}

3
matrix/server Normal file
View File

@ -0,0 +1,3 @@
{
"m.server": "matrix.autonomic.zone:443"
}