From 8b7786da04a5418a3ef1f687aa886d765c60ec1b Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Tue, 20 Jan 2026 07:59:57 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(caddy):=20Ajoute=20l'en-t?= =?UTF-8?q?=C3=AAte=20X-Robots-Tag=20pour=20indexer=20la=20r=C3=A9servatio?= =?UTF-8?q?n=20et=20renomme=20matcher=20noindex.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/templates/caddy.j2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 {