Plesk

Unable to start Nginx on Plesk server: [emerg] open() “/etc/nginx/nginx.conf” failed (2: No such file or directory)

Symptoms

Cause

The Nginx server was incorrectly manually removed from the server.

Resolution

  1. Re-install Nginx web server component.

  2. Log into the server via SSH.

  3. Execute the commands below one by one to re-configure Nginx configuration

    # plesk sbin nginxmng -d

    # plesk sbin nginxmng -e

Exit mobile version