TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

gzip not enabled for text/html #57

Closed holygekko closed 3 years ago

holygekko commented 3 years ago

I installed a wordpress site, but when I open the homepage I see that the response is not gzipped. It has Content-Type: text/html; charset=UTF-8

Looking at the nginx config I think text/html should be added to the gzip_types?

holygekko commented 3 years ago

Nevermind, the problem was related to caprover (https://github.com/caprover/caprover/issues/646#issuecomment-736100282)