Skip to content

Latest commit

 

History

History
9 lines (4 loc) · 334 Bytes

nginx-remove.md

File metadata and controls

9 lines (4 loc) · 334 Bytes

sudo apt-get remove nginx nginx-common # Removes all but config files.

sudo apt-get purge nginx nginx-common # Removes everything. rm -rf /etc/nginx to remove the conf files too.

sudo apt-get autoremove # After using any of the above commands, use this in order to remove dependencies used by nginx which are no longer required.