diff options
| -rw-r--r-- | pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 b/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 index dd32eae..5c69a5c 100644 --- a/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 +++ b/pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j2 @@ -40,17 +40,7 @@ server { # 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; |
