diff --git a/src/freedombone-app-fedwiki b/src/freedombone-app-fedwiki index cd3f1001..3dd45819 100755 --- a/src/freedombone-app-fedwiki +++ b/src/freedombone-app-fedwiki @@ -367,6 +367,7 @@ function fedwiki_setup_web { echo ''; echo ' add_header X-Frame-Options DENY;'; echo ' add_header X-Content-Type-Options nosniff;'; + echo ' add_header X-Download-Options noopen;'; echo ''; echo ' location /fonts-font-awesome/ {'; echo ' alias /usr/share/fonts-font-awesome/;'; @@ -383,8 +384,6 @@ function fedwiki_setup_web { sed -i '/Content-Security-Policy/d' "$fedwiki_nginx_file" sed -i '/X-XSS-Protection/d' "$fedwiki_nginx_file" - sed -i '/X-Robots-Tag/d' "$fedwiki_nginx_file" - sed -i '/X-Download-Options/d' "$fedwiki_nginx_file" sed -i '/X-Permitted-Cross-Domain-Policies/d' "$fedwiki_nginx_file" function_check create_site_certificate