There are many great code snippets in their Gitlab. You might find more on their…
Tutorial: Enable gzip compression in nginx on a Plesk for more speed and smaller file size
- Log in to Plesk.
- Go to Domains > example.com > Hosting & DNS > Apache & nginx Settings.
- Add the following directives to the Additional nginx directives field:
gzip on;
gzip_disable "MSIE [1-6]\\.(?!.*SV1)";
gzip_proxied any;
gzip_comp_level 5;
gzip_types text/plain text/css application/javascript application/x-javascript text/xml application/xml application/rss+xml text/javascript image/x-icon image/bmp image/svg+xml;
gzip_vary on;
Dieser Beitrag hat 0 Kommentare