This commit is contained in:
2026-03-23 23:17:53 +01:00
parent 780f5e86c6
commit 2b108fc438
83 changed files with 46 additions and 10 deletions

19
nginx.conf Normal file
View File

@@ -0,0 +1,19 @@
server {
listen 8080;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# SPA Vue → fallback obligatoire
location / {
try_files $uri $uri/ /index.html;
}
# cache des assets (optionnel mais recommandé)
location /assets/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}