]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Disable compression (BREACH) (2)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 25 Oct 2014 14:11:49 +0000 (12:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 25 Oct 2014 14:11:49 +0000 (12:11 -0200)
templates/nginx.conf.erb

index c181b12b541408df3d4ae1c5a85b1683eb4e261c..cf339dd58cafe5d0714e978ea2b9affb54e624c9 100644 (file)
@@ -24,6 +24,8 @@ http {
     proxy_read_timeout 120;
     tcp_nodelay        on;
 
+    # disable compression
+    # prevents BREACH attack
     gzip  off;
     #gzip_disable "MSIE [1-6]\.(?!.*SV1)";