mirror of https://gitlab.com/bashrc2/epicyon
gzip types
parent
1ae8c909c3
commit
23d89f1396
|
@ -329,7 +329,7 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
|
|||
echo ' gzip on;';
|
||||
echo ' gzip_min_length 1000;';
|
||||
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 ' add_header X-Content-Type-Options nosniff;';
|
||||
echo ' add_header X-XSS-Protection "1; mode=block";';
|
||||
|
|
|
@ -251,7 +251,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
|
|||
echo ' gzip on;';
|
||||
echo ' gzip_min_length 1000;';
|
||||
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 ' add_header X-Content-Type-Options nosniff;';
|
||||
echo ' add_header X-XSS-Protection "1; mode=block";';
|
||||
|
|
|
@ -1416,7 +1416,7 @@
|
|||
gzip_comp_level 6;<br>
|
||||
gzip_buffers 16 8k;<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>
|
||||
ssl_stapling off;<br>
|
||||
ssl_stapling_verify off;<br>
|
||||
|
|
Loading…
Reference in New Issue