- Plesk Onyx for Linux
- Plesk for Linux
Opening a website results in the following error:
Proxy mode is enabled under Plesk > Domains > example.com > Apache & Nginx Settings.
In Plesk > Domains > example.com > Logs or in
/var/www/vhosts/example.com/logs/proxy_error_logthe following record can be found:
CONFIG_TEXT: [error] 31160#0: *35 connect() failed (111: Connection refused) while connecting to upstream, client: 203.0.113.2, server: example.com, request: "GET /dev/ HTTP/1.1", upstream:
There are no processes listening on 80 or 443 port:
# netstat -tunalp | grep -E ":80|:443"
Nginx service is not running.
Start nginx service under Plesk > Tools & Settings > Services Management > Reverse Proxy Server (nginx) :
Alternatively, nginx can be started via the command-line interface:
Connect to the server via SSH;
Run the following command:
# systemctl start nginx
# service nginx start