Remove Nginx and CentOS image

How to remove Nginx on a RHEL or CentOS in Vesta Control Panel

This is tutorial how to remove Nginx on a RHEL or CentOS in Vesta Control Panel 1. Stop nginx service nginx stop 2. Remove package yum remove nginx 3. Change vesta configuration cd /usr/local/vesta/conf sed -i “/PROXY_*/d” vesta.conf sed -i “s/8080/80/” vesta.conf sed -i “s/8443/433/” vesta.conf 4. Change httpd configuration cd /etc/httpd/conf.d sed -i “s/8080/80/” *.conf […]

See More

How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

  Redirect HTTP to HTTPS using htaccess in Vesta Control Panel You can automatically redirect visitors to the secured (HTTPS) version of your site to make sure your communications are encrypted by using following .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

See More

How to replace MySQL with Percona Server Debian or Ubuntu in Vesta Control Panel

Replace MySQL with Percona Server Debian or Ubuntu  You can safely replace MySQL with Percona Server without lossing any data. In order to do it, please follow the instructions bellow 1. Import Percona GPG key apt-key adv –keyserver keys.gnupg.net –recv-keys 1C4CBDCDCD2EFD2A 2. Add this to /etc/apt/sources.list, replacing VERSION with the name of your distribution: deb […]

See More