remplace les urls du client (haproxy)
This commit is contained in:
parent
8a080ee982
commit
caad1313ca
|
@ -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
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue