- Plesk for Linux
All websites are down:
PLESK_INFO: This site can't be reached
Static content on a newly created domains is not displayed.
Plesk nginx proxy is enabled:
# /usr/local/psa/admin/bin/nginxmng -s
It is not possible to restart the nginx service:
# service nginx restart
Unable to start service: Unable to manage service by nginxmng: ('start', 'nginx'). Error: ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code  Error occured while sending feedback. HTTP code returned: 502 Error occured while sending feedback. HTTP code returned: 502 Can not start proxy server:
CONFIG_TEXT: nginx: nginx: [emerg] bind() to 203.0.113.2:443 failed (98: Address already in use)
nginx: nginx: [emerg] bind() to 203.0.113.2:80 failed (98: Address already in use)
The nginx service was not stopped correctly.
Connect to the Plesk server via SSH.
Re-enable Plesk nginx proxy using these commands:
# /usr/local/psa/admin/bin/nginxmng -d
# /usr/local/psa/admin/bin/nginxmng -e
In case static content is not shown on a newly created domain, repair web server configuration using:
# plesk repair web example.com