hyperreal.coffee

Install mod-evasive

1sudo apt install libapache2-mod-evasive

Add mod_evasive to VirtualHost

1<IfModule mod_evasive20.c>
2    DOSHashTableSize 3097
3    DOSPageCount 2
4    DOSSiteCount 50
5    DOSPageInterval 1
6    DOSSiteInterval 1
7    DOSBlockingPeriod 60
8    DOSEmailNotify <hyperreal@moonshadow.dev>
9</IfModule>

Restart apache2:

1sudo systemctl restart apache2.service

Reply to this post by email ↪