I configured the nginx according to the vultr , Then i had to remove it , so i removed it using sudo apt-get --purge remove nginx
and after that sudo apt-get autoremove
. No error till now . But now when i need to install nginx again using Digitalocean tutorial it's installed but at the time of start I keeps me giving error like below
root@onebyteRails:~/working/nginx-1.7.5# sudo update-rc.d nginx
defaults System start/stop links for /etc/init.d/nginx already exist.
root@onebyteRails:~/working/nginx-1.7.5# sudo service nginx restart *
Stopping Nginx Server...
[fail] * Starting Nginx Server...
nginx: [emerg] no "events" section in configuration