From a7fa165643beaa18abc12c9f8018b2fd9df3bede Mon Sep 17 00:00:00 2001 From: bogdanovic Date: Sat, 1 Apr 2017 11:47:57 +0200 Subject: [PATCH] fix Missing YunoHost tile #26 add more headers to change nextcloud CSP. yuonohost tile appears again --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 445eca8..f32af6b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -20,6 +20,7 @@ location ^~ #LOCATION# { add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; + more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;"; # Set max upload size client_max_body_size 10G; @@ -82,6 +83,7 @@ location ^~ #LOCATION# { add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; + more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;"; # Optional: Don't log access to assets access_log off; }