@trococ wrote:
I would like to log if the response is compressed by haproxy or not
this is an example config:
http-response set-var(txn.comp) yes if { res.comp } http-response set-var(txn.comp) no unless { res.comp } log-format compress\ %[txn.comp]
of course it’s not working.
How can do that?
Posts: 1
Participants: 1