Complete the code to enable Brotli compression in nginx.
brotli [1] on;In nginx, to enable Brotli compression, you set brotli on;.
Complete the code to set the Brotli compression level to maximum.
brotli_comp_level [1];The maximum Brotli compression level in nginx is 9.
Fix the error in the Brotli types configuration line.
brotli_types [1];In nginx, MIME types in brotli_types are space-separated without commas or other separators.
Fill both blanks to configure Brotli to compress responses larger than 1KB and enable it for HTTPS only.
brotli_min_length [1]; brotli_https [2];
Set brotli_min_length to 1024 bytes (1KB) and enable Brotli only for HTTPS with brotli_https on;.
Fill all three blanks to complete the Brotli configuration block that enables Brotli, sets compression level to 6, and compresses HTML and CSS files.
brotli [1]; brotli_comp_level [2]; brotli_types [3];
This configuration enables Brotli compression, sets the compression level to 6, and compresses HTML and CSS MIME types.