GridPane adapted the 7G Firewall built by Perishable Press for Nginx.
In the process, they modularized it and made it possible to add custom rules to quickly and selectively block or allow requests.
This repository hosts custom rules for GridPane's nginx variant of the 7g firewall.
For instructions on how to create and use these custom rules, see https://gridpane.com/kb/using-the-7g-web-application-firewall/#custom-rules.
To contribute rules to the repository, follow these steps:
- Fork this repo.
- Create a folder for the tool. If the rule is for a WordPress plugin, use the plugin's slug for the folder name. Find a suitable descriptive slug if it's something else.
- Add your rules to the folder.
- Add a Markdown file named README.md to the exception folder to document the rule and for credit.
- Send a pull request.
Check out the existing examples for the recommended file and folder structure.