Fix healthcheck
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
response=$(curl -o /dev/null -s -w "%{http_code}" "http://fun.box:9999/http/version.txt")
|
response=$(curl -o /dev/null -s -w "%{http_code}" "http://localhost:9999/http/version.txt")
|
||||||
if [ "$response" -eq 200 ]; then
|
if [ "$response" -eq 200 ]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user