From 129e26555b71c013e2b4ffe5aeff1c5dcd7be582 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 31 Jan 2025 00:13:20 +0100 Subject: [PATCH] On active la compression des fichiers --- deployment/scripts/nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment/scripts/nginx/nginx.conf b/deployment/scripts/nginx/nginx.conf index ee299a0..773460f 100644 --- a/deployment/scripts/nginx/nginx.conf +++ b/deployment/scripts/nginx/nginx.conf @@ -5,6 +5,9 @@ http { default_type application/octet-stream; client_max_body_size 100M; + gzip on; + gzip_types text/plain text/css text/javascript; + upstream backend { server backend:8000;