Hello,
I'm trying to set a redirect rule with multiple conditions:
Redirect any request unless from ip or path begin with...
I tried to set this as a one liner using "or" as I read that AND is implicit.
It did not work
Then I tried the below which causes any request from the ip to also ge
redirected.
Please advise
frontend accounts-HTTP
http-request set-log-level silent unless { path_beg -i /install }
acl do_not_redirect src 192.168.192.168
acl cloudinary_a url_beg /test.html
acl cloudinary_b url_beg /api/
redirect location http://lp.example.com/going-wild if !do_not_redirect
redirect location http://lp.example.com/going-wild if !cloud_a
redirect location http://lp.example/com/going-wild if !cloud_b
#mode tcp
bind 192.168.192.168:80
bind 192.168.192.168:443 ssl crt /etc/haproxy/ssl/example.com.pem
default_backend accounts-Farm-HTTP
Thank you
[Meet Us at] <http://www.startapp.com/press/#events_press>