Files
timing/frontend/nginx.conf
T
steinhelge 330ba7a93d Initial commit: MVP tidtakingssystem
- Backend: FastAPI, EXIF-parser, EasyOCR, SQLite
- Frontend: React admin (startliste, passeringer, gjennomgang, resultater)
- Docker: docker-compose med depot/processed/data-volumer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 15:01:33 +01:00

19 lines
376 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# SPA: alle ruter går til index.html
location / {
try_files $uri $uri/ /index.html;
}
# Proxy API-kall til backend
location /api/ {
proxy_pass http://backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}