From 012f8e00de0a879e83ac6ef35609c9f73ba2d3c9 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Tue, 28 Jan 2020 11:07:30 +0000 Subject: [PATCH] remove hardcoded vhost extension in check_config() message fixes: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/327 --- setup-ngxblocker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-ngxblocker b/setup-ngxblocker index 99b1b1917..3b4923c18 100755 --- a/setup-ngxblocker +++ b/setup-ngxblocker @@ -83,7 +83,7 @@ update_paths() { check_config() { if [ -z "$FILE_LIST" ]; then printf "${BOLDGREEN}using a file extension for vhost files allows multiple domains to be included with a single directive in nginx.conf:\n\n" - printf "${BOLDWHITE}include /etc/nginx/sites-enabled/*.vhost;\n\n" + printf "${BOLDWHITE}include /etc/nginx/sites-enabled/*.$VHOST_EXT;\n\n" printf "${BOLDYELLOW}see command line switches below: ${BOLDGREEN}-e ${RESET}to customise the vhost file extension\n\n" printf "${BOLDMAGENTA}no vhost files in:${RESET} [ $VHOST_DIR/*.$VHOST_EXT ] ${BOLDWHITE}=> exiting${RESET}.\n\n" usage