• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Default to https connection?

I don't think you can make SSL required for a specific folder directly with a Plesk setting.

I would do it using a script, so anybody trying to load the page as http would be redirected automatically.

It would look something like this in ColdFusion, but in PHP or whatever is your scripting language of choice you should be able to do the same thing:

<cfif left("#CGI.server_protocol#",5) NOT IS "https">
<cflocation url="https://www.myserver.com#CGI.path_name#" />
</cfif>

Basically, check what protocol is used. If it's not https, then redirect to the same page but loading through SSL.

Regs,
Andor
 
Back
Top