Plesk Nginx

How to enable gzip on Plesk Nginx

To enable gzip on Plesk server with Nginx proxy, go to

Click on the domain for which you need gzip compression enbaled.

Plesk Nginx

click on “Apache & nginx Settings”. On next page, scroll down, add following to “Additional nginx directives” text box.

Plesk Additional nginx directives

To verify gzip is working, you can open a file directly in browser. Check response headers in browser develoer tool, you should see gzip.

verify gzip in chrome developer tools

See Plesk

Plesk License Number

Plesk Change Backup Location

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder

Edit file

Find

Replace with

Move old backup to new location

Remove old backup directory, here i rename it to dumps-old, you can delete it.

Restart Plesk

Related Posts

Plesk
Plesk MySQL Daily Backup Script

Plesk move vhosts folder

Plesk use /var/www/vhosts folder to store sites. On some servers this folder will be on smaller partition. Say you have all disk space on partition /home, in such cause, you can use following command to move web site files to /home folder with following command.

/home/ = you can replace this any any folder you wish. Plesk will move the site files, update the configuration as required.

NOTE: In this example, i used /var/www/vhosts instead of /home/ as the server was using non default folder for vhosts, i am moving all sites back to default location (/var/www/vhosts).

See Plesk

Plesk License Number

Install PHP 5.6 on Debian 9 Plesk Server

To install PHP 5.6 on Debian 9 Plesk Server, add sury.org repository

Install PHP 5.6 with apt

Optional: Enable PHP 5.6 as default CLI

This will show all available PHP version, select the default version for command line.

Enable PHP 5.6 in Plesk

Plesk MagicSpam

Install MagicSpam on Plesk

MagicSpam is an anti spam filter for Plesk and DirectAdmin servers. You can purchase MagicSpam from

https://www.magicspam.com

To install MagicSpam, upload the zip file you get to /root/ folder of your server and run

Example

Plesk MagicSpam

Plesk License Number

Install Redis on Plesk Debian Server

To install Redis on Plesk Debian/Ubuntu server, run

Enable and restart redis-server

Now install PHP Modules

After installing, you will see redis listed in phpinfo() page.

Redis PHP Debian

plesk-install-2

Install Plesk On Linux Server

To install Plesk Control Panel on Linux Server, run

Once install completed, you will be asked to login to Plesk URL

Once on the page, you will be asked to create admin user.

Once this is done, Plesk is ready to use.

ioncube

Install ioncube on CentOS Plesk Server

To install ioncube on Plesk server, run

To verify ioncube installed, create a PHP file with following content

Upload it to server and access the file via web browser. You will see phpinfo. This will show ioncube if installed properly.

Plesk License Number

Plesk Install PHP

To install differnt version of PHP in plesk server, run

This will list available PHP versions to install.

To install PHP 5.3, run

To install PHP 5.6, run

See Plesk