Download options are ok
This commit is contained in:
parent
a7cdc5e7bf
commit
9b166b255a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue