diff --git a/nginx.conf b/nginx.conf index d121699..e01f87e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,14 +1,13 @@ server { listen 80; server_name _; - root /usr/share/nginx/html; + root /app/dist; index index.html; location / { try_files $uri $uri/ /index.html; } - # Optional: cache static assets location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ { expires 1y; add_header Cache-Control "public, immutable";