Nginx - disable autostart
Try this command:
sudo update-rc.d -f nginx disable
Update:
I made changes to supports more distributions:
use this:
sudo systemctl disable nginx
It will disable it and if you like to stop running service use this:
sudo systemctl stop nginx
works on Ubuntu and any Systemd based distributions