diff options
Diffstat (limited to 'nginx.html')
| -rw-r--r-- | nginx.html | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -172,7 +172,7 @@ This will appear on your website. <p>This is my website. Thanks for stopping by!</p> <p>Now my website is live!</p></code></pre> -<h3>Enable the site</h3> +<h3 id=enable>Enable the site</h3> <p> Once you save that file, we can enable it making a link to it in the <code>sites-enabled</code> directory: @@ -209,10 +209,11 @@ systemctl disable ufw</code></pre> This keeps the firewall otherwise active. </p> -<pre><code>ufw allow http,https</code></pre> +<pre><code>ufw allow 80 +ufw allow 443</code></pre> <p> -This will open port 80 and port 443. Port 80 is the canonical webserver port, while 443 is the port used for encrypted connections. +Port 80 is the canonical webserver port, while 443 is the port used for encrypted connections. We will certainly need that for the next page. </p> |
