I have successfully set up nginx using these instructions, but one part has never worked for me, and that bothers me even though it does not seem to cause an problems.
root@devtest:/home/dev-admin# ufw app list
Available applications:
Nginx Full
Nginx HTTP
Nginx HTTPS
OpenSSH
root@devtest:/home/dev-admin# sudo ufw delete allow 'Nginx HTTP'
Could not delete non-existent rule
Could not delete non-existent rule (v6)
root@devtest:/home/dev-admin# ufw app list
Available applications:
Nginx Full
Nginx HTTP
Nginx HTTPS
OpenSSH
What am I missing here? Is this not the correct syntax to delete the rule? This is on Ubuntu 20.04, but I get the same result on 18.04.
From
man ufw
, the commandufw app list
(these are all the profiles stored in the
/etc/ufw/applications.d/
directory). The output does not imply that rules for those profiles have been added to the running firewall - to see that information, use