Skip to content

ivanmp91/blockips-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blockips-nginx

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.

About

Script to generate an IP blacklist for nginx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages