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 } ~~~