remplace les urls du client (haproxy)

This commit is contained in:
btatu 2017-09-28 14:31:28 +02:00
parent 8a080ee982
commit caad1313ca

View file

@ -362,10 +362,12 @@ 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
acl domaine hdr(host) -i domaine1.com
redirect prefix http://www.domaine2.com code 301 if domaine
~~~
Ainsi, il fait la redirection si l'acl domaine correspond au domaine spécifié.
## Debug
~~~