Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How to force https for a domain in Vesta control panel?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
annahernandez99
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?
  • Quote

Post by annahernandez99 » Mon Feb 15, 2021 6:15 pm

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
``
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password