wip: automatic cloudflare tunnels

This commit is contained in:
Andras Bacsai
2024-03-27 18:24:24 +01:00
parent 6b82fc3011
commit 79d589c7a9
7 changed files with 120 additions and 10 deletions

View File

@@ -35,6 +35,9 @@ class CheckProxy
$server->save();
return false;
}
if ($server->settings->is_cloudflare_tunnel) {
return false;
}
$ip = $server->ip;
if ($server->id === 0) {
$ip = 'host.docker.internal';