Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4754

Http-header not being modified after upgrade

$
0
0

Hi, I was using HAProxy version 1.8 and now I’m using 2.4.17. After this update one of our rules stopped working with this message:

parsing [/etc/haproxy/haproxy.cfg:234] : anonymous acl will never match because it uses keyword ‘hdr_sub’ which is incompatible with ‘backend http-response header rule’

This is the rule that was in use before and its not working anymore.

http-response replace-header Location ^(.)//(.?)/(.*)$ \1//\2.stage.example.com/\3 unless { hdr_sub(location) -i stage.example.com }

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4754

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>