🌐 Fixing the "Misdirected Request" Error in Plesk Panel
If you’re encountering the "Misdirected Request" error while trying to access a website on your Plesk server, it usually indicates a mismatch between your SSL/TLS certificates and the web server configuration.This issue is commonly related to SNI (Server Name Indication), a modern technology used by browsers to handle multiple SSL certificates on a single IP address.
Fortunately, there’s a quick and effective way to fix this issue.
The following command will correct your Nginx SSL configuration and eliminate the error.
To fix the problem, connect to your server via SSH and run the following single-line command:
Bash:
echo -e "proxy_ssl_server_name on;\nproxy_ssl_name \$host;\nproxy_ssl_session_reuse off;" > /etc/nginx/conf.d/fixssl.conf && systemctl restart nginx