mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
GHA workflow - Debug blacklist-ips.conf [skip travis]
This commit is contained in:
parent
f7a1b5f9de
commit
399f91f15a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ cyan=$(tput setaf 6)
|
|||
white=$(tput setaf 7)
|
||||
defaultcolor=$(tput setaf default)
|
||||
#thisip=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||
thisip=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')
|
||||
thisip=$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
|
||||
|
||||
# ---------
|
||||
# FUNCTIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue