How to Install Nginx with Brotli Compression on Ubuntu 18.04 LTS

In this tutorial, I will show you step-by-step how to add support for Brotli compression algorithm in Nginx web server. Brotli is an open source compression algorithm created by Google. Brotli provides better and lossless compression than gzip, and it’s now supported by major browsers and web servers.