http-request redirect prefix http://%[hdr(host),regsub(^www\.,,i)] code 301 if { hdr_beg(host) -i www. }
[ALERT] (32645) : config : parsing [/usr/local/etc/haproxy.conf.staging:110] : error detected in frontend 'Strip-www' while parsing 'http-request redirect' rule : error in condition: no such ACL : 'if'.