my-favs/frontend/nginx.conf
RamonCalvo f0ef26ee15 feat: add Vue 3 frontend with Vite and Docker
SPA with bookmark form, list with category filters, and
categorize button. Served via nginx with API reverse proxy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 19:04:44 -06:00

13 lines
215 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://favs-api:8000;
}
location / {
try_files $uri $uri/ /index.html;
}
}