diff --git a/ansible/templates/caddy.j2 b/ansible/templates/caddy.j2 index 9d19cfb..44eff0f 100644 --- a/ansible/templates/caddy.j2 +++ b/ansible/templates/caddy.j2 @@ -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 {