Author Topic: cpanel SSL login redirects to non-ssl  (Read 1003 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cpanel SSL login redirects to non-ssl
« on: July 19, 2021, 03:19:23 PM »
Recently, not really sure when, but when a user logs in to their cpanel account https://cpanel.domainxyz.com, they are redirected to non-SSL page. If you change the URL to https the session continues in SSL with no issues.

The server has been running great for weeks, nothing changed that I know of...

Offline
*
Re: cpanel SSL login redirects to non-ssl
« Reply #1 on: August 13, 2021, 11:57:59 AM »
If anyone else also runs into this issue, and you are running   Nginx + Varnish + Apache PHP-FPM Performance 
Go to   WebServer Settings > WebServers Domain Config  then select a domain.
Then under  Nginx default vhost template: Select force-https-http2

at the bottom, select  Rebuild WebServers conf for domain on save

Click >  Save Changes