Fix nginx warning: adding already-default text/html to gzip_types

This commit is contained in:
Slavi Pantaleev
2018-08-17 10:44:34 +03:00
parent 832a4d71c1
commit b0f1a1c80f
5 changed files with 53 additions and 3 deletions

View File

@ -34,7 +34,7 @@ server {
root /dev/null;
gzip on;
gzip_types text/plain text/html application/json;
gzip_types text/plain application/json;
ssl_certificate {{ matrix_ssl_certs_path }}/live/{{ hostname_matrix }}/fullchain;
ssl_certificate_key {{ matrix_ssl_certs_path }}/live/{{ hostname_matrix }}/privkey;