База знаний VPS/VDS/Сервера Администрирование HestiaCP Ошибка 421 Misdirected Request в HestiaCP в phpMyAdmin/Roundcube

Ошибка 421 Misdirected Request в HestiaCP в phpMyAdmin/Roundcube

Если при переходе в phpMyAdmin/Roundcube в HestiaCP возникает ошибка 421:

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.

Необходимо внести некоторые правки на сервере в конфигурации nginx:

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