wip: automatic cloudflare tunnels

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

No files matched your search

+3
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';