• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

sw-cp-server "error_page 497" non-SSL to SSL redirect disfunctional in Plesk Onyx 17.5

Bitpalast

Plesk addicted!
Plesk Guru
TITLE:
sw-cp-server "error_page 497" non-SSL to SSL redirect disfunctional in Plesk Onyx 17.5​
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Onyx 17.5, latest MU, many OS​
PROBLEM DESCRIPTION:
In previous Plesk version, opening the panel login page on a non-SSL connection auto-redirected to an SSL encrypted connection. From Plesk Onyx 17.5 on, this does no longer work. See thred Issue - Plesk Panel 17.5 | 400 Bad Request The plain HTTP request was sent to HTTPS port for more details.​
STEPS TO REPRODUCE:
In any browser, as the URL type
hostname:8443
without a preceding https://, for example type
http://hostname:8443​
ACTUAL RESULT:
Nginx delivers a 400 error "The plain HTTP request was sent to HTTPS port".​
EXPECTED RESULT:
Nginx should follow the " error_page 497 https://$hostname:$server_port$request_uri;" directive in /etc/sw-cp-server/config and redirect the non-SSL request to SSL.​
ANY ADDITIONAL INFORMATION:
​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug​
 
Working work-around provided: => #30

Still, a confirmation from the Plesk - Team should be done. ;)
 
I think you can leave things as they are. If the update changes the file - good. If it does not change it - good, too.
 
Back
Top