Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ebook/en/content/019-working-with-cloudflare-api-with-bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ I host all of my websites on **DigitalOcean** Droplets and I also use Cloudflare

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.

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!
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!

## Prerequisites

Expand Down Expand Up @@ -101,4 +101,4 @@ Here is another great resource on how to use the Discord API and send notificati

[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)

>{notice} This content was initially posted on [DevDojo](https://devdojo.com/bobbyiliev/bash-script-to-automatically-enable-cloudflare-ddos-protection)
>{notice} This content was initially posted on [DevDojo](https://devdojo.com/bobbyiliev/bash-script-to-automatically-enable-cloudflare-ddos-protection)