nginxwaf is an attempt to implement a basic, positive security WAF within nginx, without loading additional modules. Technically, it turns a YAML description of known endpoints into nginx directives (mostly locations and rewrite).
Usage:
./nginxwaf < myapp-waf.yaml > myapp-waf.nginx.conf
Format: see FORMAT.md
Commit History @master
- Add format documentation. Xavier G 2 years ago
- Use more regex groups to prevent problems. Xavier G 2 years ago
- Introduce debug mode. Xavier G 2 years ago
- Fix inconsistent variable name. Xavier G 3 years ago
- Introduce the "uri_prefix" setting. Xavier G 3 years ago
- Rename the "prefix" variable into "waf_prefix". Xavier G 3 years ago
- README: add usage. Xavier G 3 years ago
- Add first lumps of Python code. Xavier G 3 years ago
- Add basic README file. Xavier G 3 years ago
- Add license. Xavier G 3 years ago