Commit graph

14 commits

Author SHA1 Message Date
Stuart Cardall
93f0f7c65c
install-ngxblocker: add download for $SCRIPT_FILES 2017-07-26 23:49:26 +00:00
Stuart Cardall
d4eb8f93b9
install-ngxblocker / setup-ngxblocker: fix DRY RUN messages
removes --exec from DRY RUN messages as the scripts now use short
command line switches only with getopts.
2017-07-26 15:38:53 +00:00
Stuart Cardall
13a4fbb0d7
install-ngxblocker: add check_depends()
centos 7 does not have wget by default so check depends.
2017-06-07 17:33:27 +00:00
Stuart Cardall
c291b8d0a6
install-ngxblocker: don't use grep -q
grep -q is not portable
2017-04-29 01:42:54 +00:00
Stuart Cardall
4afe3094ea
fix dash shell compatibilities install / setup-ngxblocker
fixes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/39

also fixes a small spacing bug in setup-ngxblocker => nginx.conf
2017-04-27 19:28:10 +00:00
Stuart Cardall
cce45d487f
fix dash shell compatibility
fixes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/39
2017-04-27 15:57:39 +00:00
Stuart Cardall
c31b908c4b
fix POSIX shell compatibility
fixes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/39
2017-04-27 14:00:11 +00:00
Stuart Cardall
f67776d8a9 install-ngxblocker: use getopts not getopt
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
2017-04-26 15:53:31 +00:00
Stuart Cardall
a8b0ae8399 install-ngxblocker: 2 small fixes 2017-04-21 22:01:55 +00:00
Stuart Cardall
883bbc7bb5 improve install script
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 ]
2017-04-21 01:30:44 +00:00
Mitchell Krog
81d28c6d43 Version 2.2017.07 - Documentation Updates
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
2017-04-20 15:34:51 +02:00
Mitchell Krog
62d795580e Fixed typo 2017-04-17 12:44:36 +02:00
Mitchell Krog
c31997d4f6 Readme and Configuration Updates
Changes to reflect new names for install, setup and update script.
Happy Easter 🐰
2017-04-16 11:29:55 +02:00
Mitchell Krog UB1
ec94393e27 Change install, setup and update script names for Consistency 2017-04-16 10:56:03 +02:00