Remove nginx header

main
bashrc 2026-02-23 20:23:22 +00:00
parent a0e6924806
commit a5f7099d7b
3 changed files with 0 additions and 3 deletions

View File

@ -357,7 +357,6 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
echo ' gzip_proxied expired no-cache no-store private auth;';
echo ' gzip_types gzip_types text/plain text/css text/vcard text/vcard+xml application/json application/ld+json application/javascript text/xml application/xml application/rdf+xml application/xml+rss text/javascript;';
echo '';
echo " add_header Content-Security-Policy \"script-src 'unsafe-inline' 'self'; style-src 'unsafe-inline'\";";
echo ' add_header X-Content-Type-Options nosniff;';
echo ' add_header X-XSS-Protection "1; mode=block";';
echo ' add_header X-Download-Options noopen;';

View File

@ -280,7 +280,6 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
echo ' gzip_proxied expired no-cache no-store private auth;';
echo ' gzip_types gzip_types text/plain text/css text/vcard text/vcard+xml application/json application/ld+json application/javascript text/xml application/xml application/rdf+xml application/xml+rss text/javascript;';
echo '';
echo " add_header Content-Security-Policy \"script-src 'unsafe-inline' 'self'; style-src 'unsafe-inline'\";";
echo ' add_header X-Content-Type-Options nosniff;';
echo ' add_header X-XSS-Protection "1; mode=block";';
echo ' add_header X-Download-Options noopen;';

View File

@ -263,7 +263,6 @@ echo "Creating nginx virtual host for http://[${YGGDRASIL_ADDRESS}]"
echo ' gzip_proxied expired no-cache no-store private auth;';
echo ' gzip_types gzip_types text/plain text/css text/vcard text/vcard+xml application/json application/ld+json application/javascript text/xml application/xml application/rdf+xml application/xml+rss text/javascript;';
echo '';
echo " add_header Content-Security-Policy \"script-src 'unsafe-inline' 'self'; style-src 'unsafe-inline'\";";
echo ' add_header X-Content-Type-Options nosniff;';
echo ' add_header X-XSS-Protection "1; mode=block";';
echo ' add_header X-Download-Options noopen;';