mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
[BETA] Fix whitelist-ips test
Fix way we check for local IP use dig
This commit is contained in:
parent
be61f73b9f
commit
0aba7c52dc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf default)
|
||||||
thisip=$(curl -s ifconfig.co)
|
thisip=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue