nystudio107 / nginx-craft

An Nginx virtual host configuration for Craft CMS that implements a number of best-practices.
MIT License
310 stars 37 forks source link

Documentation on adding brotli #27

Closed knynkwl closed 3 years ago

knynkwl commented 3 years ago

Would be great to get some documentation on adding Brotli compression to Nginx on forge. Or maybe included in the template just commented out with install instructions?

khalwat commented 3 years ago

You actually need to compile it into Nginx to do this.

https://www.vultr.com/docs/add-brotli-support-to-nginx-on-ubuntu-18-04