remove hardcoded vhost extension in check_config() message

fixes:

https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/327
This commit is contained in:
Stuart Cardall 2020-01-28 11:07:30 +00:00
parent 1811d264d7
commit 012f8e00de
No known key found for this signature in database
GPG key ID: AEB857F1C891D0C6

View file

@ -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