Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Nov 8, 2019
1 parent a01f9e3 commit 2076093
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bin/update-nginx.php
Expand Up @@ -88,17 +88,10 @@ function convertUrlToHostAddr(string $input) : ?string
}

$proxy_pass = phore_pluck("proxy_pass", $curLocation);

try {
phore_http_request($proxy_pass . "?rudl-cf-servicecheck")->send(false);
} catch (\Exception $e) {


$proxy_pass_ip = convertUrlToHostAddr($proxy_pass);

if ($proxy_pass_ip === null) {
warnMsgDelayed("Cannot resolve upstream proxy_pass '$proxy_pass'. Skipping vhost.");

continue;
}

Expand Down

0 comments on commit 2076093

Please sign in to comment.