Open firewall for Apache (HTTP + HTTPS)

Allow HTTP and HTTPS through UFW so the site is reachable.

Opens HTTP (80) and HTTPS (443) ports in UFW using Apache's pre-defined application profile. The "Apache Full" profile covers both ports in a single rule.

When you need this: Immediately after installing Apache on a server with UFW enabled.

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.