From f7a1b5f9de25e47dbd323a6049f04f71ddfb52a0 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 5 Jul 2021 09:23:30 +0200 Subject: [PATCH] GHA workflow - Debug blacklist-ips.conf [skip travis] --- .github/workflows/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 5a87cc87a..777dd4447 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -67,6 +67,7 @@ jobs: 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' + 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 sudo netstat -napt