Tots els compose

This commit is contained in:
Guillem Hernandez Sola
2026-06-30 13:12:37 +02:00
parent bebb2969f8
commit f1fe15d1b5
35 changed files with 2075 additions and 0 deletions

16
astro/nginx.conf Normal file
View File

@@ -0,0 +1,16 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# Rutes d'Astro: si no troba el fitxer, retorna 404.html
location / {
try_files $uri $uri/ $uri.html =404;
}
# Cache agressiva per a assets compilats (hash al nom)
location /_astro/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}