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

Compare two variables without lua?

$
0
0

Hello,

is it possible to compare two variables in haproxy without the need of a lua script ?

http-request set-var(req.cookieval) %[req.cook(myval)]
http-request set-var(req.checksum) hdr(My-Header),concat("secret"),sha2(256),hex

acl vars_equal %[var(req.cookieval)] eq %[var(req.checksum)]

Thanks in advance

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4737

Trending Articles



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