crowdsec/docs/blockers/nginx/installation.md
erenJag 4f9d252a15
Add the documentation into crowdsec repo (#3)
Add the documentation into crowdsec repo
2020-05-15 16:58:24 +02:00

23 lines
531 B
Markdown

<center>[nginx {{plugins.name}} github](https://github.com/crowdsecurity/cs-nginx-plugin/)</center>
First, please [download the latest version](https://github.com/crowdsecurity/cs-nginx-plugin/releases/latest) of our nginx blocker.
And run the following commands:
```bash
tar xzvf cs-nginx-plugin-release.tgz
```
```bash
cd cs-nginx-plugin-vX.Y.Z/
```
```bash
sudo ./install.sh
```
```bash
sudo systemctl restart nginx
```
When an IP is referenced in the SQLite database, any request from this IP will lead to a `403` reply.