From 6953d958e603de85fb443ef7e229a728837d9216 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 2 Jan 2024 02:37:02 +0100 Subject: [PATCH] ... --- lib/tests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/tests.sh b/lib/tests.sh index 5217d0b..d589ffc 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -234,6 +234,16 @@ _VALIDATE_THAT_APP_CAN_BE_ACCESSED () { log_debug "Running curl $check_domain$curl_check_path" + log_info "curl --location --insecure --silent --show-error \ + --header 'Host: $check_domain' \ + --resolve $DOMAIN:80:$LXC_IP \ + --resolve $DOMAIN:443:$LXC_IP \ + --resolve $SUBDOMAIN:80:$LXC_IP \ + --resolve $SUBDOMAIN:443:$LXC_IP \ + --write-out '%{http_code};%{url_effective}\n' \ + --output './curl_output' \ + $check_domain$curl_check_path" + # Call cURL to try to access to the URL of the app LXC_EXEC "curl --location --insecure --silent --show-error \ --header 'Host: $check_domain' \