mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
GHA workflow - Debug blacklist-ips.conf [skip travis]
This commit is contained in:
parent
399f91f15a
commit
8a98e1a12a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/action.yml
vendored
2
.github/workflows/action.yml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
sudo cat /etc/nginx/bots.d/blacklist-ips.conf
|
||||
ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'
|
||||
#ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'
|
||||
ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p'
|
||||
sudo cat /etc/nginx/sites-available/default.vhost
|
||||
sudo nginx -t
|
||||
|
|
Loading…
Add table
Reference in a new issue