--- a/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 Sat May 02 18:37:45 2020 -0500
+++ b/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 Mon May 04 17:47:21 2020 -0500
@@ -40,17 +40,7 @@
# the nginx default is 1m, not enough for large media uploads
client_max_body_size 16m;
- root {{nginx_html_root}};
-
- location = / {
- index index.html;
- }
-
location / {
- try_files $uri @pleroma;
- }
-
- location @pleroma {
add_header X-XSS-Protection "1; mode=block";
add_header X-Permitted-Cross-Domain-Policies none;
add_header X-Frame-Options DENY;