Nginx config file: remove text/html from gzip_types
authorBenjamin Bouvier <public@benj.me>
Sun, 10 Feb 2019 20:36:41 +0000 (21:36 +0100)
committerRigel Kent <par@rigelk.eu>
Mon, 11 Feb 2019 03:29:51 +0000 (04:29 +0100)
As stated by https://nginx.org/en/docs/http/ngx_http_gzip_module.html, text/html is always part of the gzip_types. This removes a warning when checking the Nginx configuration files.

support/nginx/peertube

index 54ffdcc3298af304dffe6c1f4b9d37665759382f..fee0f5d1c09144460ee6c97b6aa9660f51cd18b5 100644 (file)
@@ -41,7 +41,7 @@ server {
   # It might be nice to compress JSON, but leaving that out to protect against potential
   # compression+encryption information leak attacks like BREACH.
   gzip on;
-  gzip_types text/css text/html application/javascript;
+  gzip_types text/css application/javascript;
   gzip_vary on;
 
   # Enable HSTS