Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
416
rated 0 times [  416] [ 0]  / answers: 1 / hits: 743039  / 2 Years ago, sat, may 14, 2022, 4:44:04

I'm trying to add new module to nginx with naxsi, but I should reinstall nginx. What is the better way of removing nginx?


More From » nginx

 Answers
2

Removes all but config files.



sudo apt-get remove nginx nginx-common


Removes 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

[#33404] Sunday, May 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
coffekne

Total Points: 114
Total Questions: 122
Total Answers: 126

Location: Mauritania
Member since Sun, Oct 17, 2021
3 Years ago
;