Files
DeineDorfApp-Admin-Panel/nginx.conf
2026-04-11 11:04:48 +02:00

15 lines
308 B
Nginx Configuration File

server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
location /api {
proxy_pass http://backend:5173;
proxy_set_header Host backend;
proxy_set_header X-Real-IP $remote_addr;
}
}