Fix: nginx.conf in frontend build context

This commit is contained in:
rene 2026-04-06 17:32:53 +02:00
parent c8b354ed45
commit 3794f925d4

15
frontend/nginx.conf Normal file
View file

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