From: Benjamin Bouvier Date: Sun, 10 Feb 2019 20:36:41 +0000 (+0100) Subject: Nginx config file: remove text/html from gzip_types X-Git-Tag: v1.3.0-rc.1~205^2~2^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7eeb6a0ba4028d0e20847b846332dd0b7747c7f8;p=oweals%2Fpeertube.git Nginx config file: remove text/html from gzip_types 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. --- diff --git a/support/nginx/peertube b/support/nginx/peertube index 54ffdcc32..fee0f5d1c 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -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