@hac3ru wrote:
Hello,
I have an issue with enabling GZIP compression on an SSL frontend, while on plain HTTP works perfectly.
The error I’m getting is:
Apr 5 08:19:50 HAProxy2-wbidder haproxy[7649]: [ALERT] 095/081950 (7649) : config: frontend ‘www-https’: require an explicit filter declaration to use HTTP compressionThe www-https frontend config is:
frontend www-https
bind 0.0.0.0:443 ssl crt /etc/haproxy/ssl/bundle.pem
http-request add-header X-Forwarded-Proto https
default_backend pool0
mode http
maxconn 400000
compression algo gzip
compression type text/css text/html text/javascript application/javascript text/plain text/xml application/json image/svg+xml
# Mirror traffic via SPOA-mirror
filter spoe engine traffic-mirror config /etc/haproxy/mirror.cfgWhat filter should I set in order to get this working? The documentation doesn’t say anything about a filter, as far as I’ve seen.
Thank you.
Posts: 1
Participants: 1