Skip to content
Snippets Groups Projects
Commit 29562f55 authored by HeJ's avatar HeJ
Browse files

Merge branch 'develop' into 'production'

prod: fix docker healthcheck for SCRIPT_NAME usage

See merge request hub/hub!570
parents ca712d74 e41e6d52
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ if [ "$STARTMODE" == "init" ]; then ...@@ -13,7 +13,7 @@ if [ "$STARTMODE" == "init" ]; then
exit 0; exit 0;
fi fi
response="$(http --ignore-stdin --check-status http+unix://%2Frun%2Fhub%2Fapp.sock/.well-known/health Host:$TARGET)" response="$(http --ignore-stdin --check-status http+unix://%2Frun%2Fhub%2Fapp.sock${SCRIPT_NAME}/.well-known/health Host:$TARGET)"
echo "$response" echo "$response"
if [[ "$response" == "OK" ]]; then if [[ "$response" == "OK" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment