mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 08:15:02 +00:00
fix(CheckProxy, Status): prevent proxy checks when force_stop is active; remove debug statement in General
This commit is contained in:
1 parent
61c689d807
commit
3176106222
3 files changed
+4
-3
No files matched your search
@@ -27,7 +27,7 @@ class CheckProxy
|
||||
return false;
|
||||
}
|
||||
$proxyType = $server->proxyType();
|
||||
if (is_null($proxyType) || $proxyType === 'NONE' || $server->proxy->force_stop) {
|
||||
if ((is_null($proxyType) || $proxyType === 'NONE' || $server->proxy->force_stop) && ! $fromUI) {
|
||||
return false;
|
||||
}
|
||||
if (! $server->isProxyShouldRun()) {
|
||||
@@ -65,7 +65,6 @@ class CheckProxy
|
||||
if ($server->id === 0) {
|
||||
$ip = 'host.docker.internal';
|
||||
}
|
||||
|
||||
$portsToCheck = ['80', '443'];
|
||||
|
||||
foreach ($portsToCheck as $port) {
|
||||
|
||||
Reference in new issue
Block a user