From 1211eb6f7efebdb3f47cc53511a0adb75b9bfd3b Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 20 Oct 2021 06:15:37 -0300 Subject: [PATCH] Enable gzip on production image --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index 932cfeb..78f630e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,6 +2,9 @@ server { listen 80; server_name localhost; + gzip on; + gzip_types application/javascript text/css; + #access_log /var/log/nginx/host.access.log main; location /static {