GHA workflow - Debug blacklist-ips.conf [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-05 09:20:34 +02:00
parent 55383fb3ae
commit 68736fab3a
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -66,6 +66,7 @@ jobs:
shell: bash shell: bash
run: | run: |
sudo cat /etc/nginx/bots.d/blacklist-ips.conf 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'
sudo cat /etc/nginx/sites-available/default.vhost sudo cat /etc/nginx/sites-available/default.vhost
sudo nginx -t sudo nginx -t
sudo netstat -napt sudo netstat -napt