How to completely remove NGINX server from Ubuntu
hackthestuff.com › article › how-to-completelyIn your Terminal, first run the below command to install nginx config files and remove from Ubuntu. sudo apt-get purge nginx nginx-common. After running the above command, use below command in order to remove all dependencies used by nginx which are no longer required. sudo apt-get autoremove. Further, you can also remove nginx config files which are not required. rm -rf /etc/nginx. This way, you can completely remove nginx web server from Ubuntu system.
How To Uninstall NGINX – Ken Favors . com
kenfavors.com › code › how-to-uninstall-nginxBackup all nginx config files at ‘/etc/nginx' before doing any of this! Removes all but config files: $ sudo apt-get remove nginx nginx-common. or remove everything: $ sudo apt-get purge nginx nginx-common. After using any of the above commands, use this in order to remove dependencies used by nginx which are no longer required: $ sudo apt-get autoremove