By default the install script makes no changes & prints to stdout the
changes it would make. To actually download the files run with:
install-ngxblocker -x [ or --exec ]
to see the command line options:
install-ngxblocker -h [ or --help ]
PLEASE NOTE CRITICAL CHANGES !!!
3 new include files must exist in your /etc/nginx/bots.d/ folder or Nginx will EMERG and fail reloading due to the missing files.
PLEASE READ UPDATED CONFIGURATION INSTRUCTIONS
This example includes a modified /utilities/https_vhosts.php file which will do the includes for you on any vhosts you create using Enginetron.
Please use this example ONLY as a guide.
the script will try to insert the new configuration below any
existing includes in your config files. If the search string is
not found the inserts are made at the end of the start search
range:
* for vhost files this is below the server_* directives.
* for nginx.conf this is below http{
The search ranges & search string can be changed in main().
usage instructions can be found by running:
setup-ngxblocker -h or --help
by default running the script with no command line switches does a
"dry run" & prints to stdout the files & includes it would change:
setup-ngxblocker
to actually make changes you need to run with -x:
setup-ngxblocker -x
Notification System for this repo introduced today.
You can subscribe to notifications at:
**https://groups.google.com/forum/#!forum/nginx-ultimate-bad-bot-blocker**
or send a blank email to
**nginx-ultimate-bad-bot-blocker+subscribe@googlegroups.com**
Please make sure you are subscribed to notifications to be notified when the blocker is updated and also to be notified when any important or mission critical changes take place.