This repository provides an example of the DataDome Nginx module using Docker.
For additional information, please check our public documentation.
Open the file nginx.conf
and set your datadome-server-side-key
(found inside your DataDome Dashboard).
docker image build . -t datadome-nginx-demo-image
docker run -d --rm --name datadome-nginx-demo-container -p 8282:80 datadome-nginx-demo-image
curl -v http://localhost:8282/
Your request was protected (the header X-DataDome: protected
is present) and is shown in your Dashboard.
docker logs -f datadome-nginx-demo-container
docker stop datadome-nginx-demo-container