src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-18 17:43:46 -0500
committerLuke Hoersten <[email protected]>2021-07-18 17:43:46 -0500
commit9bb76f57d55ca5a9e502a34e504a21904d4157a1 (patch)
tree903c0e279b0e7d4a546847bf0dcbf82ddca1409b /pleroma/otp
parent2749003ec0f863e700450da9ee55d58cc8f4b399 (diff)
Tons of updates.
Diffstat (limited to 'pleroma/otp')
-rw-r--r--pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2 b/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
index 7eccab5..5acafdb 100644
--- a/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
+++ b/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
@@ -38,6 +38,14 @@ server {
# 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;
}