- Plesk for Linux
Does Plesk support BROTLI (mod_brotli) compression for Apache or Nginx web server?
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.
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
Please sign in to leave a comment.