Delete testhttp.sh

This commit is contained in:
Ze'ev Schurmann 2025-05-07 07:05:38 +02:00
parent 5bd491033f
commit 268ae8ec92
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
if curl -s --head --request GET http://192.168.27.248 | grep "200 OK" > /dev/null; then
echo "HTTP connection to example.com is available"
else
echo "HTTP connection to example.com failed"
fi
if curl -s -k --head --fail https://192.168.27.248 > /dev/null; then
echo "HTTPS connection to example.com is available (ignoring cert issues)"
else
echo "HTTPS connection to example.com failed"
fi