* adds -s command line switch to update-ngxblocker / install-ngxblocker
for less verbose messages to reduce unnecessary cron job logs.
-s reduces messages to errors only & the Blacklist version number.
long options for the command line are removed. getopt is replaced with
the newer getopts (which is compatible with Debian's DASH Shell)
* fixes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/35
* adds sanity checks for user command line switches
* adds -v command line option to print blacklist version
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