How to Uninstall NGINX from Ubuntu

 How to Uninstall NGINX from Ubuntu

To uninstall nginx from ubuntu you just need to run a command, Login to your ubuntu system using SSH or open terminal and run the following command

To uninstall the nginx, first you need to stop nginx server using following command

sudo service nginx stop

Option 1: Remove nginx but keep config files

sudo apt-get remove nginx nginx-common

Option 2: Remove everything

sudo apt-get purge nginx nginx-common


Related post


  • Good post! We will be linking to this great content on our site. Keep up the great writing. Cammi Gabe Gereron

  • Pretty! This was an extremely wonderful post. Thank you for providing these details. Gwendolin Gradey Prud

  • Taskade was so much more simplistic and beautiful. Billy Redford Grissom

  • Hello my friend! I want to say that this article is awesome, nice written and include approximately all vital infos. I would like to see more posts like this. Beulah Clayborne Angle

Leave a Reply

Your email address will not be published. Required fields are marked *