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