Check whether $http_address$ is empty

This commit is contained in:
Yonas Habteab 2020-07-10 12:31:09 +02:00
parent 04704a49a4
commit ed6546ca5a
1 changed files with 1 additions and 0 deletions

View File

@ -357,6 +357,7 @@ object CheckCommand "http" {
description = "Host name argument for servers using host headers (virtual host)"
}
"-I" = {
set_if = {{ string(macro("$http_address$")) != "" }}
value = "$http_address$"
description = "IP address or name (use numeric address if possible to bypass DNS lookup)"
}