• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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