Skip to content

Commit

Permalink
Nginx config file: remove text/html from gzip_types
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnjbvr authored and rigelk committed Feb 11, 2019
1 parent 6c32d30 commit 7eeb6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/nginx/peertube
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7eeb6a0

Please sign in to comment.