Question: Unable to open any domain with enabled nginx on Plesk because Apache is not running
Applicable to:Symptoms- Unable to browse any domain hosted on the Plesk server. The browser displays this error:
502 Bad Gateway- Nginx reverse proxy is enabled in Tools & Settings > Services Management.
- Nginx service is running.
Cause
Apache service is stopped on the server.
Resolution Via Plesk GUI1.Log in to Plesk GUI
2.Go to Tools & Settings > Services Management > Apache Web Server > Start.
3.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:
(https://pix.cobrasoft.org/images/2025/11/24/mceclip0-19.png)
Via command-line interface- Connect to the server via SSH
1.For CentOS based:
# service httpd start
2.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