Project

General

Profile

[Solved] Struggling to get gzip working with compress or deflate module

Added by surjitsidhu 8 months ago

Good day,

I'm writing this message to ask for help about to enable gzip compress on Lighttpd 1.4.49
I have attached config out of ./lighttpd -p -f lighttpd.conf

I have compiled Lighttpd 1.4.49 from source by following command and OS is Ubuntu 16.04
scons -j 4 build_static=1 build_dynamic=0 with_openssl=1 prefix=/usr install

Please help to find out what I'm missing that preventing gzip compression not working

Thanks,

o.conf (32 KB) o.conf config out ./lighttpd -p -f lighttpd.conf

Replies (2)

RE: Struggling to get gzip working with compress or deflate module - Added by gstrauss 8 months ago

Looks fine. Check what your browser is sending. Is it sending Accept-Encoding: gzip? What is the Content-Type in the response headers, and are those listed in compress.filetypes?

RE: Struggling to get gzip working with compress or deflate module - Added by surjitsidhu 8 months ago

Thanks, I got it fixed by compiling using make file

    (1-2/2)