Removed matrix specific locations from pleroma nginx config.
authorLuke Hoersten <luke@hoersten.org>
Mon, 19 Jul 2021 20:32:56 -0500
changeset 166 4ab7efce7321
parent 165 00e0af8e76a4
child 167 e3c49bf5fae9
Removed matrix specific locations from pleroma nginx config.
pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
--- 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;
     }