APPLIES TO: Plesk 12.0 for Linux Plesk 11.0 for Linux Plesk 11.5 for Linux How to enable gzip support on nginx? Create /etc/nginx/conf.d/gzip.conf with the following: gzip on; gzip_disable “MSIE [1-6]\.(?!.*SV1)”; gzip_proxied any; gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss…
Category: Gzip
Linux command to open .gz files
How do I extract a gz file? Use gunzip command as follows: # gunzip filename.gz How do I extract a tar.gz file? # tar xvzf file.tar.gz
Create or Extract a tar.gz File
Make an archive of a plesk httpdocs directory tar -cvzf domain.com_backup_7.17.14.tar.gz /var/www/vhosts/domain.com/httpdocs/ Result -rw-r–r– 1 root root 14482441 Jul 17 14:09 domain.com_backup_7.17.14.tar.gz Extract the same file tar -xf domain.com_backup_7.17.14.tar.gz