Websites hosted on Plesk servers show the following error on browser:

421 Misdirected Request

The following error message is logged in domain's log (Plesk > Domains > example.com > Logs):

AH02032: Hostname default-203_0_113_2 (default host as no SNI was provided) and hostname www.example.com provided via HTTP have no compatible SSL setup

Cause

In recent Apache version, Apache team has released fixes for CVEs that affected Apache + nginx functionality.

Apply the following command to your server via SSH as root user:

echo -e "proxy_ssl_server_name on;\nproxy_ssl_name \$host;" > /etc/nginx/conf.d/fixssl.conf && service nginx restart

Bu cavab sizə kömək etdi? 0 istifadəçi bunu faydalı hesab edir (0 səs)