You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ebook/en/content/019-working-with-cloudflare-api-with-bash.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ I host all of my websites on **DigitalOcean** Droplets and I also use Cloudflare
4
4
5
5
My personal favorite Cloudflare feature is their free DDoS protection. It has saved my servers multiple times from different DDoS attacks. They have a cool API that you could use to enable and disable their DDoS protection easily.
6
6
7
-
This chapter is going to be an exercie! I challange you to go ahead and write a short bash script that would enable and disable the Cloudflare DDoS protection for your server automatically if needed!
7
+
This chapter is going to be an exercise! I challange you to go ahead and write a short bash script that would enable and disable the Cloudflare DDoS protection for your server automatically if needed!
8
8
9
9
## Prerequisites
10
10
@@ -101,4 +101,4 @@ Here is another great resource on how to use the Discord API and send notificati
101
101
102
102
[How To Use Discord Webhooks to Get Notifications for Your Website Status on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-discord-webhooks-to-get-notifications-for-your-website-status-on-ubuntu-18-04)
103
103
104
-
>{notice} This content was initially posted on [DevDojo](https://devdojo.com/bobbyiliev/bash-script-to-automatically-enable-cloudflare-ddos-protection)
104
+
>{notice} This content was initially posted on [DevDojo](https://devdojo.com/bobbyiliev/bash-script-to-automatically-enable-cloudflare-ddos-protection)
0 commit comments