From 8a080ee9820f7f2eb6d3695cfdfe5e75a0446a5a Mon Sep 17 00:00:00 2001 From: btatu Date: Thu, 28 Sep 2017 14:29:15 +0200 Subject: [PATCH] redirection de domaine --- HowtoHaproxy.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 ~~~