@antnappi wrote:
Hello,
I’m trying to setting up my haproxy in order to use maps.
My idea is to have a map_file.txt:_status_example.com:443 ON example.com:443 http://new_url.com
In the acl I would like to have something like that:
acl redirect_enabled {if _status_example.com:443==ON }
http-redirect example.com:443,map(./map_file.txt) if redirect_enabledI’m struggling trying to write the acl part. Is there a way to compare two string in haproxy configuration?
Posts: 1
Participants: 1