store-matching-frontend/nginx.conf
Maddox 69e0b864e4 Initial commit — Store Tracker v2 frontend
React 18 + Vite + TypeScript + Tailwind v4 + TanStack Query v5.
Dark glassmorphism design, table/grid views, color-coded route badges,
filter bar, stats bar, add/edit modal, delete confirm, toast notifications.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 20:40:08 -04:00

19 lines
461 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://store-matching-backend:3000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml;
gzip_min_length 1000;
}