From f0dcbc88c6e9ecf40b1aebefa40aded66911db03 Mon Sep 17 00:00:00 2001 From: Vivek Date: Mon, 8 Jun 2026 09:12:20 +0000 Subject: [PATCH] Add nginx compression and fix package.json scripts --- nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 6270228..ca23085 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,11 +1,15 @@ server { listen 80; server_name _; - root /usr/share/nginx/html; index index.html; + # Serve static assets location / { try_files $uri $uri/ /index.html; } + + # Gzip compression + gzip on; + gzip_types text/plain text/css application/json application/javascript text/xml application/xml; } \ No newline at end of file