uninstall nginx on ubuntu 18.04 code example
Example: remove nginx from ubuntu
sudo apt-get remove nginx nginx-common
or
sudo apt-get purge nginx nginx-common
sudo apt-get autoremove
sudo apt-get remove nginx nginx-common
or
sudo apt-get purge nginx nginx-common
sudo apt-get autoremove