Issue
How can nginx be added to UFW. nginx is not appearing in the UFW lst?
When running the command:
ufw app list
Nginx does not appear in it. How can nginx be added to UFW?
Any help would be greatly appreciated?
Solution
its easy to add your own app:
create a file:
/etc/ufw/applications.d/nginx
with the following content:
[Nginx]
title=Nginx Web Server (HTTP + HTTPS)
description=Small, but very powerful and efficient web server
ports=80,443/tcp
tell ufw about the new app:
ufw app update Nginx
allow Nginx:
ufw allow Nginx
Answered By - brt Answer Checked By - Dawn Plyler (WPSolving Volunteer)