How to force https for a domain in Vesta control panel?
-
- Posts: 5
- Joined: Sat Jan 09, 2021 7:59 am
- Os: Ubuntu 14x
- Web: apache
How to force https for a domain in Vesta control panel?
How to force https for a domain in Vesta control panel? The Vesta docs give the following instructions. However, after following them, in the Vesta control panel > packages > default > edit > in Web Template NGINX dropdown force-https does not appear and so cannot be selected. Any help would be greatly appreciated. homeheavenz
1. Install custom nginx template
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-h ... inx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz
3. Create new package or set force-https as nginx template in the existing package
4. Add new user and assing him package with force-https template
5. Add new domain with SSL certificate and check the result
``
1. Install custom nginx template
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-h ... inx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz
3. Create new package or set force-https as nginx template in the existing package
4. Add new user and assing him package with force-https template
5. Add new domain with SSL certificate and check the result
``