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

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

216
0
SHARE
Linux Reseller Hosting

Vestacap1. 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

Windows Shared Hosting

Our Partner

partner-cloudflare
partner-cloudlinux
partner-cpanel-whm
partner-Paralleles-plesk-panel
partner-sitelock
partners-OpenVZ
R1Soft
partners-RV-Globalsoft
partners-Softaculous-auto-installer
partners-solusvm
partners-whmcs
services-cpanel
services-MySQL
services-Perl
services-swsoft-plesk
support-sevices-php