@KenynMacCormik wrote:
Hi, on my installation of HAproxy
[root@haproxy1 haproxy]# rpm -qa | grep haproxy haproxy18u-1.8.19-1.ius.centos7.x86_64
the following ACLs are working
frontend web_frt acl not_https ssl_fc,not acl is_ecp path_beg -m beg -i /ecp/ acl is_healthcheck path_beg -m end -i healthcheck.htm http-response deny if is_ecp http-response deny if is_healthcheck http-request redirect scheme https code 301 if not_https
But on newer version
[root@LB1 haproxy]# rpm -qa | grep haproxy haproxy18u-1.8.20-1.el7.ius.x86_64
I get an error
Jun 25 17:30:12 LB1 haproxy[18640]: [WARNING] 175/173012 (18640) : parsing [/etc/haproxy/haproxy.cfg:90] : acl 'is_ecp' will never match because it only involves keywords that are incompatible with 'frontend http-response header rule' Jun 25 17:30:12 LB1 haproxy[18640]: [WARNING] 175/173012 (18640) : parsing [/etc/haproxy/haproxy.cfg:91] : acl 'is_healthcheck' will never match because it only involves keywords that are incompatible with 'frontend http-response header rule'
Any idea why this is happening?
Posts: 1
Participants: 1