Add nginx compression and fix package.json scripts

This commit is contained in:
Vivek 2026-06-08 09:12:20 +00:00
parent 31b2403a62
commit f0dcbc88c6

View file

@ -1,11 +1,15 @@
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
# Serve static assets
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
# Gzip compression
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml;
} }