Page 1 of 1

force-https not working

Posted: Wed Apr 05, 2017 6:03 pm
by arktex54
Hi Community

I followed the instructions here https://vestacp.com/docs/#how-to-force-https to force all domains to SSL but it is not working. I have assigned force-ssl to the default template and the user is using the default template. I have even rebooted the server to no avail.

Image

Image

TIA

Re: force-https not working

Posted: Thu Apr 06, 2017 10:20 am
by skurudo
Please add a little more info.

> Operating System (OS/VERSION):
Type here, e.g. CentOS 6

> VestaCP Version:
Type here, e.g. 0.9.8-17

> Installed Software (what you got with the installer):
Type here, e.g. php-fpm, apache, nginx, mysql

> Steps to Reproduce:
Type here, e.g. install vesta and type cat /etc/issue

> Related Issues/Forum Threads:
Found anything that might be related to this? It might help us find the cause.

> Other Notes:
Anything else? May be logs?

Re: force-https not working

Posted: Wed May 17, 2017 5:38 pm
by arktex54
The fix was to create a new user and move the domain over.

Re: force-https not working

Posted: Fri May 26, 2017 1:47 am
by BBuchanan1013
arktex54 wrote:The fix was to create a new user and move the domain over.
The other way to fix would've been (if using apache) to create a .htaccess file or use one that's already there and create a rewrite rule to do the same thing.