How to Add Brotli Compression support to Nginx on Debian 10

This guide will show you how to add Brotli support to Nginx on Debian 10 system. Brotli is a generic-purpose lossless compression algorithm developed by Google as an alternative to Gzip, Zopfli, and Deflate that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding, and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods.