Removed matrix specific locations from pleroma nginx config.
--- a/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2 Sun Jul 18 20:26:54 2021 -0500
+++ b/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2 Mon Jul 19 20:32:56 2021 -0500
@@ -38,14 +38,6 @@
# the nginx default is 1m, not enough for large media uploads
client_max_body_size 16m;
- location /.well-known {
- return 404;
- }
-
- location /_matrix {
- return 404;
- }
-
location = / {
return 301 http://www.$host$request_uri;
}