This commit is contained in:
deathrow 2022-11-30 08:56:28 -05:00
parent b832e9f16c
commit 3aaf8c3477
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73
3 changed files with 4 additions and 15 deletions

View File

@ -1,9 +0,0 @@
location /_synapse/admin/v1/event_reports {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app synapse;
set $upstream_port 8008;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}

View File

@ -0,0 +1,3 @@
location /.well-known/matrix/server {
return 200 '{"m.server": "matrix.example.tld:443"}';
}

View File

@ -14,9 +14,7 @@ server {
client_max_body_size 1024M; client_max_body_size 1024M;
# Well-Known # Well-Known
location /.well-known/matrix/server { include /config/nginx/include.d/well-known.conf;
return 200 '{"m.server": "matrix.example.tld:443"}';
}
# Mjolnir Reports # Mjolnir Reports
include /config/nginx/include.d/mjolnir-reports.conf; include /config/nginx/include.d/mjolnir-reports.conf;
@ -24,9 +22,6 @@ server {
# Maubot # Maubot
include /config/nginx/include.d/maubot.conf; include /config/nginx/include.d/maubot.conf;
# Synapse Reports
include /config/nginx/include.d/synapse-reports.conf;
# Federation_Worker # Federation_Worker
include /config/nginx/include.d/federation_worker.conf; include /config/nginx/include.d/federation_worker.conf;