mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
parent
e061ca2c12
commit
d75b07bb1a
1 changed files with 2 additions and 1 deletions
|
@ -427,7 +427,8 @@ main() {
|
|||
|
||||
# update main config
|
||||
#line=$(find_includes $MAIN_CONF include last http first '\}' last )
|
||||
line=$(find_includes $MAIN_CONF include first http first '\}' last )
|
||||
#line=$(find_includes $MAIN_CONF include first http first '\}' last )
|
||||
line=$(find_includes $MAIN_CONF '#' first http first '\}' last )
|
||||
if [ -n "$(check_wildcard $MAIN_CONF $CONF_DIR)" ]; then # also recalculate column width
|
||||
col_size=$(( $(longest_str $VHOST_INCLUDES) + $(echo $BOTS_DIR | wc -m) + 10 ))
|
||||
printf "%-10s %-${col_size}s %s\n" "INFO:" "$CONF_DIR/* detected" "=> $MAIN_CONF"
|
||||
|
|
Loading…
Add table
Reference in a new issue