gzip types

merge-requests/30/head
Bob Mottram 2022-02-16 11:23:56 +00:00
parent 1ae8c909c3
commit 23d89f1396
3 changed files with 3 additions and 3 deletions

View File

@ -329,7 +329,7 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
echo ' gzip on;'; echo ' gzip on;';
echo ' gzip_min_length 1000;'; echo ' gzip_min_length 1000;';
echo ' gzip_proxied expired no-cache no-store private auth;'; echo ' gzip_proxied expired no-cache no-store private auth;';
echo ' gzip_types text/plain application/xml;'; 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 '';
echo ' add_header X-Content-Type-Options nosniff;'; echo ' add_header X-Content-Type-Options nosniff;';
echo ' add_header X-XSS-Protection "1; mode=block";'; echo ' add_header X-XSS-Protection "1; mode=block";';

View File

@ -251,7 +251,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
echo ' gzip on;'; echo ' gzip on;';
echo ' gzip_min_length 1000;'; echo ' gzip_min_length 1000;';
echo ' gzip_proxied expired no-cache no-store private auth;'; echo ' gzip_proxied expired no-cache no-store private auth;';
echo ' gzip_types text/plain application/xml;'; 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 '';
echo ' add_header X-Content-Type-Options nosniff;'; echo ' add_header X-Content-Type-Options nosniff;';
echo ' add_header X-XSS-Protection "1; mode=block";'; echo ' add_header X-XSS-Protection "1; mode=block";';

View File

@ -1416,7 +1416,7 @@
gzip_comp_level 6;<br> gzip_comp_level 6;<br>
gzip_buffers 16 8k;<br> gzip_buffers 16 8k;<br>
gzip_http_version 1.1;<br> gzip_http_version 1.1;<br>
gzip_types text/plain text/css application/json application/ld+json application/javascript text/xml application/xml application/rdf+xml application/xml+rss text/javascript;<br> 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;<br>
<br> <br>
ssl_stapling off;<br> ssl_stapling off;<br>
ssl_stapling_verify off;<br> ssl_stapling_verify off;<br>