Ubuntu 22.x üzerine kurulu Plesk Panel sunucularda, son apache güncellemesi ile SNI şartı kaynaklı aşağıdaki hatayı alabilirsiniz;
1 2 3 |
Misdirected Request The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection |
Bu hatayı düzeltmek için;
SSH’a bağlanın.
Önce yedekleyin;
1 |
cp /etc/nginx/conf.d/fixssl.conf /etc/nginx/conf.d/fixssl-backup.conf |
sonra şu komutu koşturun;
1 |
echo -e "proxy_ssl_server_name on;\nproxy_ssl_name \$host;" > /etc/nginx/conf.d/fixssl.conf && service nginx restart |
Bu sayede apache güncellemesi ile meydana gelen 421 Misdirected Request hatası çözülecektir.