From 9219a7da5be088bf18b3d4c322eaacfa542dcefa Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Apr 2022 16:20:12 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index b6d82eb..241e988 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -14,16 +14,9 @@ add_header X-Content-Type-Options nosniff; add_header Access-Control-Allow-Origin "${allowed_origins}"; # add_header X-Frame-Options "SAMEORIGIN"; - - # Enable SharedArrayBuffer in Firefox (for .xlsx export) add_header Cross-Origin-Resource-Policy cross-origin; add_header Cross-Origin-Embedder-Policy require-corp; - # Insert the path to your CryptPad repository root here - root /home/cryptpad/cryptpad; - index index.html; - error_page 404 /customize.dist/404.html; - # any static assets loaded with "ver=" in their URL will be cached for a year if ($args ~ ver=) { set $cacheControl max-age=31536000; @@ -44,7 +37,6 @@ set $workerSrc "'self'"; set $scriptSrc "'self' resource: https://${main_domain}"; - set $frameAncestors "'self' https://${main_domain}"; # set $frameAncestors "'self' https: vector:";