How to uninstall/remove ngnix from ubuntu ?
NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.
NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.
Being newbie in Ubuntu wanted to remove the NGnix and go back to the Apache.
Below is the command line to remove ngnix from ubuntu.
sudo apt-get purge nginx nginx-common # Removes everything including config files.