diff -r a7a64ed07204 -r 40b78af86337 pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2 --- 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; }