feat(caddy): Ajoute l'exclusion d'indexation pour certains hôtes et améliore les headers.
 feat(security): Crée un listener pour rediriger la racine de reservation.ludikevent.fr.
```
This commit is contained in:
Serreau Jovann
2026-01-20 07:50:56 +01:00
parent 010af74dda
commit 026408e731
2 changed files with 42 additions and 1 deletions

View File

@@ -10,9 +10,13 @@ intranet.ludikevent.fr, signature.ludikevent.fr, reservation.ludikevent.fr {
max_size 100MB
}
# --- NO-INDEX MATCHER ---
# Defines which hosts should not be indexed
@noindex host intranet.ludikevent.fr signature.ludikevent.fr
header @noindex X-Robots-Tag "noindex, nofollow"
# --- BLOC HEADER AVEC CSP ---
header {
X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"