Closed chrisch297 closed 4 months ago
I was wondering why some of my javascripts are not getting compressed and found that the application/javascript mime type is missing in gzip_types in the nginx.conf file. Can you add this type please?
application/javascript
gzip_types
nginx.conf
Hi @chrisch297,
Thank you for the suggestion, I updates the mime types with CloudFlare's settings to gzip a lot more mimetypes; https://github.com/TrafeX/docker-php-nginx/blob/master/config/nginx.conf#L41
I was wondering why some of my javascripts are not getting compressed and found that the
application/javascript
mime type is missing ingzip_types
in thenginx.conf
file. Can you add this type please?