How to force https / SSL on a domain in Vesta Control Panel

force https, How to force https / SSL on a domain in Vesta Control Panel, Hostripples Web Hosting1. Install custom nginx template

cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-https/nginx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz

2. Create new package or set force https as nginx template in the existing package

3. Add new user and assing him package with force-https template

4. Add new domain with SSL certificate and check the result


How to force https / SSL on a domain 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.
Subscribe Now to stay updated.

Please fill in your email address to get most latest updates.