Hello,
I have a haproxy setup to load balance nodejs processes.
visitors <–> haproxy <–> nodejs
I’d like haproxy to gzip the responses from nodejs. Haproxy should gzip only the responses satisfying a condition. I was thinking to modify nodejs app to add a special HTTP header to the response messages which are to be gzipped and then configure haproxy to gzip responses with this special header field. Is this possible?
Thank you!