OneCompiler

How to uninstall nginx from Ubuntu

1 Answer

9 years ago by

1. If you want to keep config files

sudo apt-get remove nginx nginx-common

2. If you want to uninstall completely

sudo apt-get purge nginx nginx-common
9 years ago by Karthik Divi