Symptoms
-
Unable to access Plesk with login link generated by
plesk login
after Plesk update to release version 18.0.61 -
Opening the login link in web browser leads to incorrect redirection from port
443
to8880
-
After the Plesk update the nginx configuration at
/etc/nginx/plesk.conf.d/server.conf
is:location / {
proxy_pass http://127.0.0.1:8880;
proxy_redirect http://$host:8880 $scheme://$host; <====================
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
access_log off;
gzip on;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
}
Cause
This has been identified as a Plesk bug currently being fixed within the same release.
Resolution
This issue will be fixed in release 18.0.61 Update 1, in the meantime as a workaround apply the following steps:
-
Connect to the server via SSH
-
Run the following command to fix nginx configuration:
# plesk sbin httpdmng --reconfigure-server