Articles in this section

Does Plesk support BROTLI compression for Apache or Nginx web server?

kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux

Question

Does Plesk support BROTLI (mod_brotli) compression for Apache or Nginx web server?

Answer

This functionality is implemented as of Plesk Obsidian 18.0.33

Brotli compression is enabled by default.

To disable Brotli on a single domain, specify brotli off; in additional Nginx directives.

mceclip1.png

To disable Brotli globally run the command:

# plesk bin nginx -d brotli

If you do not want to enable brotli globally for all domains, but prefer to manage brotli compression per website, specify brotli off; in /etc/nginx/conf.d/yy000_brotli_tweaks.conf (create this file if absent) and add "brotli on;" in domain's additional Nginx directives.

Note: If web content is served by Apache (I.E.: Nginx is in proxy mode), the gzip may be needed to be disabled in Apache directives HTTP/HTTPS with the following: SetEnv no-gzip 1

mceclip0.png

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.