ajout de frontend fonctionnel :)

This commit is contained in:
2026-01-09 14:20:34 +01:00
parent 3d514783af
commit 883327cee8
4 changed files with 33 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# Frontend
location / {
try_files $uri /index.html;
}
# Backend API
location /api/ {
proxy_pass http://backend:3001/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}