Script to generate an IP blacklist for nginx from the url: http://www.badips.com/get/list/wordpress/ The script use etckeeper to commit the changes for the configuration file or revert changes. By default uses: /etc/nginx/conf.d/blockips.conf After get the list if there are changes, the script copy the new file on /etc/nginx/conf.d/blockips.conf, reload nginx and commit the changes. If the reload fails the script will revert the changes and reload again nginx with the previous configuration.
-
Notifications
You must be signed in to change notification settings - Fork 5
Script to generate an IP blacklist for nginx
License
ivanmp91/blockips-nginx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Script to generate an IP blacklist for nginx
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published