first commit
Some checks failed
Build and Deploy / build (push) Failing after 1m34s

This commit is contained in:
2025-11-23 03:24:27 +01:00
commit cc5b8b32bb
6193 changed files with 832271 additions and 0 deletions

24
nginx.conf Normal file
View File

@@ -0,0 +1,24 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
# Fondamentale per React Router/SPA:
# Se il file richiesto non esiste, serve index.html
try_files $uri $uri/ /index.html;
}
# Opzionale: Gestione cache per file statici
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
root /usr/share/nginx/html;
expires 1y;
add_header Cache-Control "public, no-transform";
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}