Skip to content

Commit 87abdaf

Browse files
committed
Fixed wrong command on configuring ufw, change ufw add rule to ufw allow rule
1 parent a1a3988 commit 87abdaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/DigitalOcean Tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DigitalOcean is a cloud infrastructure provider focused on simplifying web infra
2020

2121
## Creating an account
2222

23-
You can sign up to DigitalOcean using our affiliate link. Doing so gives you a starting credit of $10, which allows you to rent a server for 2 months. Click this link to create your account and get the $10: [https://m.do.co/c/d54c088544ed](https://m.do.co/c/d54c088544ed). If the link doesn't work, paste it into your browser.
23+
You can sign up to DigitalOcean using our affiliate link. Doing so gives you a starting credit of $10, which allows you to rent a server for 2 months. Click this link to create your account and get the $10: [https://m.do.co/c/d54c088544ed](https://m.do.co/c/d54c088544ed). If the link doesn't work, paste it into your browser.
2424

2525
![Create an account](assets/DigitalOcean/create_account.png)
2626

@@ -277,8 +277,8 @@ sudo ufw status
277277
If not, we will enable it later. Before that, let's add some new rules:
278278

279279
```
280-
sudo ufw add 'Nginx HTTP'
281-
sudo ufw add ssh
280+
sudo ufw allow 'Nginx HTTP'
281+
sudo ufw allow ssh
282282
```
283283

284284
**Important:** the second line, adding SSH rules, is not related to nginx configuration, but since we're activating the firewall, we don't want to get blocked out of the server!

0 commit comments

Comments
 (0)