Published the new ddos post

This commit is contained in:
Roger Gonzalez 2020-04-27 13:29:49 -03:00
parent 870acd5c01
commit fa4fdfecc5

View File

@ -3,7 +3,6 @@ title: "Secure your Django API from DDoS attacks with NGINX and fail2ban"
date: 2020-04-26T11:36:39-03:00 date: 2020-04-26T11:36:39-03:00
lastmod: 2020-04-26T11:36:39-03:00 lastmod: 2020-04-26T11:36:39-03:00
tags : [ "devops", "nginx", "django" ] tags : [ "devops", "nginx", "django" ]
draft : true
--- ---
Hello everyone! Hello everyone!
@ -162,6 +161,13 @@ And it will return something like:
And that's it! It is fully working, you are now protected from DDoS attacks And that's it! It is fully working, you are now protected from DDoS attacks
dynamically. dynamically.
# Django configuration
For Django things are easy. There is no configuration needed, but if you use the Admin
or REST viewer in any form, you might want to run a separate instance just for that.
In our experience, we got blocked a bunch of times so now we are running the admin and
some cron jobs on a second medium EC2 instance.
# Bonus # Bonus
## What if I want to ban an IP address forever? ## What if I want to ban an IP address forever?