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
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