Top Nav

Enable Compression On Plesk With Nginx

To enable compression on a Plesk server with Nginx handling static content, had to add the following to .htaccess:

This configuration is explained here:

And then in Plesk under:

Subscriptions -> -> Websites & Domains -> Web Server Settings -> Additional nginx directives

added the following:

The Nginx configuration is explained here:

  • nickdavison

    Thanks for that info, didn’t realize an Nginx directive was needed to enable.

  • Esin Dorsan

    Thanks a lot !