From 0cd9a5e1b256308a3baeac3faae36baabd683453 Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Wed, 24 Nov 2021 11:12:09 +0100 Subject: [PATCH] Fix mineur nom variable --- HowtoHaproxy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtoHaproxy.md b/HowtoHaproxy.md index 97fb624f..54abe86f 100644 --- a/HowtoHaproxy.md +++ b/HowtoHaproxy.md @@ -541,7 +541,7 @@ Les conditions après le `if` sont pas défaut (implicitement) combinées avec d #### Redirection HTTPS ~~~ -acl $nom_acl hdr(host) -i $domaine-from.org +acl $nom_acl hdr(host) -i domaine-from.org redirect scheme https code 301 if $nom_acl !{ ssl_fc } ~~~ @@ -562,7 +562,7 @@ Attention, dans le cas d'une utilisation de certbot pour les renouvellements de Si la redirection ne concerne qu'un seul domaine, on peut utiliser une ACL dite "anonyme" (= implicite) : ~~~ -redirect prefix https://www.domaine-to.org code 301 if { hdr(host) -i $domaine-from.org } +redirect prefix https://www.domaine-to.org code 301 if { hdr(host) -i domaine-from.org } ~~~