From 62117ed58a55e4187aba0a85eb1ffc067246cc47 Mon Sep 17 00:00:00 2001 From: jlecour Date: Thu, 13 Jan 2022 15:14:36 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=A9cision=20pour=20gzip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoNginx.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HowtoNginx.md b/HowtoNginx.md index 7cd93a75..023a29cb 100644 --- a/HowtoNginx.md +++ b/HowtoNginx.md @@ -456,9 +456,11 @@ gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 6; -gzip_types text/html text/plain text/css text/xml text/javascript application/x-javascript application/javascript application/ecmascript application/xml application/xml+rss application/json image/svg+xml +gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/javascript application/ecmascript application/xml application/xml+rss application/json image/svg+xml ~~~ +**Note** : il faut bien enlever `text/html` de la liste `gzip_types` car ça donne une erreur pour doublon de valeur. + ## Monitoring