Symptoms
All domains are unaccessible with the error:
502 Bad Gateway
The following error can be found at domain's nginx error log
/var/www/vhosts/<domain_name>/logs/proxy_error_log:[error] 3755#0: *2278 SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream, client: 203.0.113.4, server: www.example.com, request: "GET / HTTP/2.0", upstream: "https://203.0.113.2:7081/", host: "www.example.com"
Nginx, Apache, MySQL services are up and running.
Plesk
nginxmngutility shows that nginx isDisabled:# plesk sbin nginxmng -s
Disabled
Cause
Unclear
Resolution
Connect to the server via SSH
Enable Nginx by running the following Plesk command:
# plesk sbin nginxmng -e