https://github.com/duy13/vDDoS-Protection
Consider an application running on host at 127.0.0.1:8000 to be reach via the vddos proxy container at example.local:80.
-
Add
example.localhost name For example in your/etc/hosts. -
Insert setup in a file
website.confas follow:
# Website Listen Backend Cache Security SSL-Prikey SSL-CRTkey
example.local http://0.0.0.0:80 http://127.0.0.1:8000 no no no no
- Execute vddos container:
$ docker run --rm --network="host" -v "$PWD/website.conf:/vddos/conf.d/website.conf" trepmag/vddos:latest
- Check:
curl http://example.local
...