mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
find symbolic links too
This commit is contained in:
parent
ae43054185
commit
b1fa069a72
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ check_config() {
|
||||||
|
|
||||||
find_vhosts() {
|
find_vhosts() {
|
||||||
local ans=
|
local ans=
|
||||||
FILE_LIST=$(find $VHOST_DIR -type f -name "*.$VHOST_EXT")
|
FILE_LIST=$(find $VHOST_DIR -type f -or -type l -name "*.$VHOST_EXT")
|
||||||
|
|
||||||
if [ -z "$FILE_LIST" ]; then
|
if [ -z "$FILE_LIST" ]; then
|
||||||
find $VHOST_DIR -type f
|
find $VHOST_DIR -type f
|
||||||
|
|
Loading…
Add table
Reference in a new issue