feat: add frontend Dockerfile, Vite config, and Nginx config

This commit is contained in:
2026-02-28 19:54:51 +01:00
parent ee9dc101da
commit 3436856215
6 changed files with 99 additions and 0 deletions

15
frontend/nginx.conf Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://backend:8000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
try_files $uri $uri/ /index.html;
}
}