✨ feat(caddy): Ajoute l'en-tête X-Robots-Tag pour indexer la réservation et renomme matcher noindex.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user