Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datadome/datadome-apache-demo
Integration demo for DataDome's Apache module
https://github.com/datadome/datadome-apache-demo
apache demo module
Last synced: 5 days ago
JSON representation
Integration demo for DataDome's Apache module
- Host: GitHub
- URL: https://github.com/datadome/datadome-apache-demo
- Owner: DataDome
- License: apache-2.0
- Created: 2023-12-20T16:03:51.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-10T13:13:13.000Z (10 months ago)
- Last Synced: 2024-01-22T21:00:02.299Z (10 months ago)
- Topics: apache, demo, module
- Language: Dockerfile
- Homepage: https://docs.datadome.co/docs/apache
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DataDome Apache demo
This repository provides an example of the DataDome Apache module using Docker.
For additional information, please check our [public documentation](https://docs.datadome.co/docs/apache).
## 1 - Configuration
Open the file `mod_datadome.conf` and set your `datadome-server-side-key` (found inside your [DataDome Dashboard](https://app.datadome.co/dashboard/management/integrations)).
## 2 - Build
```
docker image build . -t datadome-apache-demo-image
```## 3 - Run
```
docker run -d --rm --name datadome-apache-demo-container -p 8282:80 datadome-nginx-demo-image
```## 4 - Test
```
curl -v http://localhost:8282/
```Your request was protected (the header `X-DataDome: protected` is present) and is shown in your Dashboard.
## 5 - Logs
```
docker logs -f datadome-apache-demo-container
```## 6 - Stop
```
docker stop datadome-apache-demo-container
```