Enable gzip compression on NGINX Unit

668 Views Asked by At

Enabling gzip compression on pure NGINX is relatively simple. However, I want to enable gzip compression for NGINX Unit. I'm not seeing anything on the NGINX Unit configuration man page about how to do the same for NGINX Unit. Is the option not currently supported? Is it just not documented on that page?

1

There are 1 best solutions below

0
XiM On

If you are using PHP then you can enable it using zlib. Otherwise, it's not supported yet.

P.S. Feel free to leave feature request on Unit GitHub page if you are looking for this functionality.