Problem
-
- You tried to delete a user
- You will receive error something like nginx.conf error. Can’t restart Nginx
* Restarting nginx nginx nginx: [emerg] "alias" directive is not allowed here in /home/brand57/conf/web/n ginx.conf:1
Solution
-
- Login into your server using SSH
- Edit nginx configuration at /etc/nginx/conf.d/vesta.conf
- Delete line related to your user name
include /home/aircond/conf/web/nginx.conf;
include /home/accin/conf/web/nginx.conf;
include /home/fitri/conf/web/nginx.conf; - Hopefully it will works for you