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/.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.