feat(caddy): Ajoute l'en-tête X-Robots-Tag pour indexer la réservation et renomme matcher noindex.

This commit is contained in:
Serreau Jovann
2026-01-20 07:59:57 +01:00
parent 026408e731
commit 8b7786da04

View File

@@ -11,9 +11,12 @@ intranet.ludikevent.fr, signature.ludikevent.fr, reservation.ludikevent.fr {
}
# --- 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"
@noindex_hosts host intranet.ludikevent.fr signature.ludikevent.fr
header @noindex_hosts X-Robots-Tag "noindex, nofollow"
# SUPPRIME le noindex sur la réservation (au cas où PHP ou un autre bloc l'ajouterait)
@index_host host reservation.ludikevent.fr
header @index_host -X-Robots-Tag
# --- BLOC HEADER AVEC CSP ---
header {