diff options
author | Benjamin Bouvier <public@benj.me> | 2019-02-10 21:36:41 +0100 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2019-02-11 04:29:51 +0100 |
commit | 7eeb6a0ba4028d0e20847b846332dd0b7747c7f8 (patch) | |
tree | 6a3f2b6ba8717e78c94e1aba58b40612fd92e678 /support/nginx | |
parent | 6c32d302126f455779f5593192775b86833f1f33 (diff) | |
download | PeerTube-7eeb6a0ba4028d0e20847b846332dd0b7747c7f8.tar.gz PeerTube-7eeb6a0ba4028d0e20847b846332dd0b7747c7f8.tar.zst PeerTube-7eeb6a0ba4028d0e20847b846332dd0b7747c7f8.zip |
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.
Diffstat (limited to 'support/nginx')
-rw-r--r-- | support/nginx/peertube | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
41 | # It might be nice to compress JSON, but leaving that out to protect against potential | 41 | # It might be nice to compress JSON, but leaving that out to protect against potential |
42 | # compression+encryption information leak attacks like BREACH. | 42 | # compression+encryption information leak attacks like BREACH. |
43 | gzip on; | 43 | gzip on; |
44 | gzip_types text/css text/html application/javascript; | 44 | gzip_types text/css application/javascript; |
45 | gzip_vary on; | 45 | gzip_vary on; |
46 | 46 | ||
47 | # Enable HSTS | 47 | # Enable HSTS |