From 357864d2c03b1f3140ce160a3574f906592b2724 Mon Sep 17 00:00:00 2001 From: brontolosone <177225737+brontolosone@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:24:41 +0000 Subject: [PATCH] let's gzip JS --- files/nginx/odk.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/nginx/odk.conf.template b/files/nginx/odk.conf.template index 6362ab80..9ecaa292 100644 --- a/files/nginx/odk.conf.template +++ b/files/nginx/odk.conf.template @@ -22,7 +22,7 @@ server { gzip_vary on; gzip_min_length 1280; gzip_http_version 1.1; - gzip_types text/plain text/css application/json application/x-javascript text/xml text/csv; + gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml text/csv; location = /robots.txt { add_header Content-Type text/plain;