https://github.com/crowdsecurity/cs-nginx-bouncer
CrowdSec bouncer for Nginx
https://github.com/crowdsecurity/cs-nginx-bouncer
Last synced: 10 months ago
JSON representation
CrowdSec bouncer for Nginx
- Host: GitHub
- URL: https://github.com/crowdsecurity/cs-nginx-bouncer
- Owner: crowdsecurity
- License: mit
- Created: 2020-10-07T15:01:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T07:58:34.000Z (over 1 year ago)
- Last Synced: 2024-12-15T13:03:38.080Z (over 1 year ago)
- Language: Shell
- Size: 448 KB
- Stars: 50
- Watchers: 9
- Forks: 10
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crowdsec - cs-nginx-bouncer - Official Nginx bouncer using Lua for request filtering. (Bouncers / Web Servers & Proxies)
README
📚 Documentation
💠Hub
💬 Discourse
# CrowdSec NGINX Bouncer
A lua bouncer for nginx.
## How does it work ?
This bouncer leverages nginx lua's API, namely `access_by_lua_file`.
New/unknown IP are checked against crowdsec API, and if request should be blocked, a **403** is returned to the user, and put in cache.
At the back, this bouncer uses [crowdsec lua lib](https://github.com/crowdsecurity/lua-cs-bouncer/).
# Installation
Please follow the [official documentation](https://doc.crowdsec.net/docs/bouncers/nginx).