diff options
| author | Luke Hoersten <[email protected]> | 2020-05-04 17:47:21 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-05-04 17:47:21 -0500 |
| commit | df97a42c72803b02fd768c8279185ddf911f4c2b (patch) | |
| tree | 3d5df2af7f0377f0955621599c2b089de84cd8ba /pleroma-otp | |
| parent | 62e5f815084c978783f9a1789da9a7506d96d6f5 (diff) | |
Removed static hosting from cf nginx.
Diffstat (limited to 'pleroma-otp')
| -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; |
