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:hostname:8443
without a preceding https://, for example type
http://hostname:8443
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