Sostituito frontend-angular-new con frontend-angular

This commit is contained in:
Lorenzo Sanesi
2026-08-10 13:28:05 +02:00
parent 6d52968c28
commit f4afaf0792
78 changed files with 7510 additions and 2321 deletions
+21
View File
@@ -0,0 +1,21 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
# Asset con hash nel nome: cache lunga
location ~* "\.[0-9a-f]{8,}\.(js|css|svg|png|jpg|jpeg|gif|webp|woff2?)$" {
expires 1y;
add_header Cache-Control "public, immutable";
}
# Fallback per il routing lato client di Angular
location / {
try_files $uri $uri/ /index.html;
}
}