# HG changeset patch # User Luke Hoersten # Date 1588632441 18000 # Node ID 290c18c27521e237727c4ea51e4eff82cf75ebcf # Parent 35b63b150a519946e04a2304d05255f5ed9271f8 Removed static hosting from cf nginx. diff -r 35b63b150a51 -r 290c18c27521 pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 --- 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;