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

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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