summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-06-29 15:34:47 -0400
committerGitHub <noreply@github.com>2021-06-29 15:34:47 -0400
commit8adb84c6acdcf13b493e248794e9dd445676cdeb (patch)
tree56c31518cd3584dfd299a570c99c3c2deda128d4
parent342d70ecdee87c6cdca4bf7ca15d143ff400019f (diff)
parentc9f643d4708e82d4173c2e4c28f41d67f8db3b07 (diff)
Merge pull request #2 from uranderu/master
Small changes to nginx.html
-rw-r--r--nginx.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/nginx.html b/nginx.html
index d52025d..fd0d69c 100644
--- a/nginx.html
+++ b/nginx.html
@@ -208,11 +208,10 @@ systemctl disable ufw</code></pre>
<p>If you want to keep and customize the firewall for later, we can get away with just enabling the ports needed for a webserver:
</p>
-<pre><code>ufw allow 80
-ufw allow 443</code></pre>
+<pre><code>ufw allow http,https</code></pre>
<p>
-Port number 80 is the canonical webserver port, while 443 is the port used for encrypted connections.
+This will open port 80 and port 443. 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>