summaryrefslogtreecommitdiff
path: root/nginx.html
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.html')
-rw-r--r--nginx.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/nginx.html b/nginx.html
index 6023b4c..3a3db0a 100644
--- a/nginx.html
+++ b/nginx.html
@@ -172,7 +172,7 @@ This will appear on your website.
<p>This is my website. Thanks for stopping by!</p>
&lt;p&gt;Now my website is live!&lt;/p&gt;</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:
@@ -186,7 +186,7 @@ Now we can just <code>reload</code> or <code>restart</code> to make <code>nginx<
<pre><code>systemctl reload nginx</code></pre>
-<h2>The Firewall</h2>
+<h2 id=firewall>The Firewall</h2>
<p>
Vultr and some other VPS automatically install and enable <code>ufw</code>, a firewall program.
@@ -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>