- Plesk Onyx for Linux
- The website shows
502 Bad Gatewayerror.
- Apache is running:
# service httpd status | grep Active
Active: active (running) since Fri 2017-09-01 12:31:00 +07; 8h ago
- Error log for domains has no activity during connect attempts:
# tail -fn0 /var/www/vhosts/example.com/logs/error_log
- Firewalld is used on the server.
Firewall is blocking the HTTP/HTTPS connection.
Connect to the server via SSH and add the rules to the
firewalld by running the following commands:
# firewall-cmd --permanent --add-service=http
# firewall-cmd --permanent --add-service=https