diff --git a/HowtoHaproxy.md b/HowtoHaproxy.md index f81c47cd..85acda79 100644 --- a/HowtoHaproxy.md +++ b/HowtoHaproxy.md @@ -359,6 +359,13 @@ auth AuthOkayPourMonSite http_auth(NomDeMaUserList) http-request auth realm Texte if !AuthOkayPourMonSite ~~~ +### Redirection d'un domaine + +~~~ +acl promo hdr(host) -i promo-pneus.autoclean38.fr +redirect prefix http://auto-clean.yepgarage.com code 301 if promo +~~~ + ## Debug ~~~