sudo ufw allow 'Nginx Full'
Category: Self-Hosting
sudo ufw allow 'Nginx Full'
Allow both HTTP and HTTPS through UFW using Nginx's named application profile
Uses Nginx's named UFW profile to open both ports 80 and 443 in one command. UFW reads available profiles from /etc/ufw/applications.d/.