src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-04 17:47:21 -0500
committerLuke Hoersten <[email protected]>2020-05-04 17:47:21 -0500
commitdf97a42c72803b02fd768c8279185ddf911f4c2b (patch)
tree3d5df2af7f0377f0955621599c2b089de84cd8ba
parent62e5f815084c978783f9a1789da9a7506d96d6f5 (diff)
Removed static hosting from cf nginx.
-rw-r--r--pleroma-otp/templates/pleroma.cloudflare.nginx.conf.j210
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;