remove Nginx on a RHEL or CentOS in Vesta Control Panel, How to remove Nginx on a RHEL or CentOS in Vesta Control Panel, Hostripples Web Hosting

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
sed -i “s/8443/443/” *.conf

5. Rebuild vhost configs

for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done


How to remove Nginx on a RHEL or CentOS in Vesta Control Panel, Hostripples Web Hosting
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.