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

GZIP compression on SSL Frontend

$
0
0

@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 compression

The 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.cfg

What 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

Read full topic


Viewing all articles
Browse latest Browse all 4715

Trending Articles



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