https://github.com/xavierog/nginxwaf
An attempt to implement a basic, positive security WAF within nginx
https://github.com/xavierog/nginxwaf
experimental
Last synced: 3 months ago
JSON representation
An attempt to implement a basic, positive security WAF within nginx
- Host: GitHub
- URL: https://github.com/xavierog/nginxwaf
- Owner: xavierog
- License: bsd-3-clause
- Created: 2021-11-16T08:38:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T18:13:21.000Z (5 months ago)
- Last Synced: 2025-01-04T19:22:28.881Z (5 months ago)
- Topics: experimental
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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:
```sh
./nginxwaf < myapp-waf.yaml > myapp-waf.nginx.conf
```Format: see [FORMAT.md](FORMAT.md)