From 52be17cc94efb8da69d154506c5995a1271e4253 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 29 May 2017 17:01:02 +0200 Subject: [PATCH] Typo fixed / Added instructions regarding running install and setup scripts custom installation / update locations using --help -or -h flag --- AUTO-CONFIGURATION.md | 4 +++- README.md | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AUTO-CONFIGURATION.md b/AUTO-CONFIGURATION.md index e232f4f9a..9657eaab5 100644 --- a/AUTO-CONFIGURATION.md +++ b/AUTO-CONFIGURATION.md @@ -19,6 +19,8 @@ Please make sure you are subscribed to notifications to be notified when the blo - For manual installation instructions please see - Please see: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/MANUAL-CONFIGURATION.md +- Both setup-ngxblocker & install-ngxblocker can be configured with custom installation / update locations from the command line. Run the scripts with --help or -h to view options. + ## STEP 1: Download the install, setup and update scripts to your /usr/sbin/ directory and make the scripts executable @@ -226,7 +228,7 @@ That's it, the blocker will automatically keep itself up to date and also reload ## STEP 9: -You can now customize any of the following files below to suit your environment or requirements. These include files never get modified during an update using the auto update script above so whatever customizations you do here will never ne overwritten during an update. +You can now customize any of the following files below to suit your environment or requirements. These include files never get modified during an update using the auto update script above so whatever customizations you do here will never be overwritten during an update. ``` /etc/nginx/bots.d/whitelist-ips.conf diff --git a/README.md b/README.md index e2fa9d906..972d00ce9 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Please make sure you are subscribed to notifications to be notified when the blo - For manual installation instructions please see - Please see: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/MANUAL-CONFIGURATION.md +- Both setup-ngxblocker & install-ngxblocker can be configured with custom installation / update locations from the command line. Run the scripts with --help or -h to view options. + ## STEP 1: Download the install, setup and update scripts to your /usr/sbin/ directory and make the scripts executable @@ -49,6 +51,7 @@ All scripts can be run with an -h flag for help options. Now run the install-ngxblocker script in DRY-MODE which will show you what changes it will make and what files it will download for you. This is only a DRY-RUN so no changes are being made yet. + ``` cd /usr/sbin sudo ./install-ngxblocker