• 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

Question http / https redirect to hostname?

mrtx

New Pleskian
Hello, I finally managed to do it for example

Enter http: //domain.tld: 8443, which will redirect to the hostname hostname.domain.tld.

however, if I enter https: //domain.tld: 8443, I will not be redirected to the hostname hostname.domain.tld.

is that possible? and if so, how?

# http to https redirect
error_page 497 https: // $ hostname: $ server_port $ request_uri;

Thank you for Answer :)
 
Back
Top