- Plesk for Linux
Unable to browse any domain hosted on the Plesk server. The browser displays this error:
CONFIG_TEXT: 502 Bad Gateway
Nginx reverse proxy is enabled in Tools & Settings > Services Management.
Nginx service is running.
Apache service is stopped on the server.
Click on a section to expand
Go to Tools & Settings > Services Management > Apache Web Server > Start.
If the issue remains the same (or sites are not working with the different error message), go to Extensions > My Extensions > Webserver Configuration Troubleshooter and Rebuild All configuration files:
Connect to the server via SSH
Start Apache Web Server:
For CentOS based:
# service httpd start
For Debian based:
# service apache2 start
If the issue remains the same (or sites are not working with the different error message), execute the following command:
# plesk repair web -y
Webserver configuration troubleshooter seems to run forever the rebuild and situation does not change. Any alternative?
David, try to rebuild for one domain using for example SSH command to see if there are any errors:
plesk repair web example.com
And if all is ok it can be done for all domains as follows:
plesk repair web
Please sign in to leave a comment.