- Plesk for Linux
Websites hosted in Plesk are loading over HTTP, but do not work over HTTPS:
CONFIG_TEXT: 502 Bad Gateway nginx
Apache is not listening on port 7081 (when nginx is enabled in Tools & Settings > Services Management) or 443 port (when nginx is disabled in Tools & Settings > Services Management):
on CentOS/RHEL-based distributions
# netstat -tunap | grep httpd
tcp 0 0 0.0.0.0:7080 0.0.0.0:* LISTEN 2647/httpd
on Debian/Ubuntu-based distributions
# netstat -tunap | grep apache
tcp6 0 0 :::7080 :::* LISTEN 763/apache2
The following error message appears at Domains > example.com > Logs or in domain's /var/www/vhosts/system/example.com/logs/proxy_error_log:
CONFIG_TEXT: connect() failed (111: Connection refused) while connecting to upstream, client: 203.0.113.2, server: example.com, request: "GET / HTTP/2.0", upstream: "https://192.0.2.2:7081/", host: "example.com"
ssl_module is not included into Apache configuration.