pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
changeset 163 40b78af86337
parent 123 e8d0308b94b2
child 166 4ab7efce7321
--- a/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2	Sat Jul 10 20:12:21 2021 -0500
+++ b/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2	Sun Jul 18 17:43:46 2021 -0500
@@ -38,6 +38,14 @@
     # 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;
     }