From b0f5d595a86f92bf91fbe41b11c6eba664691394 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Mar 2022 23:33:24 +0100 Subject: [PATCH] fix --- conf/nginx.conf | 4 ---- scripts/install | 2 -- 2 files changed, 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7e382d0..acd3d92 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,10 +7,6 @@ location / { #client_max_body_size 50M; - more_set_headers "X-Frame-Options: SAMEORIGIN"; - more_set_headers "X-XSS-Protection: 1; mode=block"; - more_set_headers "X-Content-Type-Options: nosniff"; - location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } diff --git a/scripts/install b/scripts/install index 22d0a33..b26ee31 100755 --- a/scripts/install +++ b/scripts/install @@ -142,8 +142,6 @@ then ynh_permission_update --permission="main" --add="visitors" fi -ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true" - #================================================= # RELOAD NGINX #=================================================