An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(CheckProxy, Status): prevent proxy checks when force_stop is active; remove debug statement in General
Andras Bacsai31761062225a
diff --git a/app/Actions/Proxy/CheckProxy.php b/app/Actions/Proxy/CheckProxy.phpindex b535f782e4..5a2562073c 100644--- a/app/Actions/Proxy/CheckProxy.php+++ b/app/Actions/Proxy/CheckProxy.php@@ -27,7 +27,7 @@ class CheckProxyreturn 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 CheckProxyif ($server->id === 0) {$ip = 'host.docker.internal';}-$portsToCheck = ['80', '443'];foreach ($portsToCheck as $port) {diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex b85023a0c8..9e51262811 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -455,7 +455,6 @@ class General extends Component{$config = GenerateConfig::run($this->application, true);$fileName = str($this->application->name)->slug()->append('_config.json');- dd($config);return response()->streamDownload(function () use ($config) {echo $config;diff --git a/app/Livewire/Server/Proxy/Status.php b/app/Livewire/Server/Proxy/Status.phpindex f4f18381f8..869f923087 100644--- a/app/Livewire/Server/Proxy/Status.php+++ b/app/Livewire/Server/Proxy/Status.php@@ -34,6 +34,9 @@ class Status extends Componentpublic function checkProxy(bool $notification = false){try {+ if ($this->server->proxy->force_stop) {+ return;+ }if ($this->polling) {if ($this->numberOfPolls >= 10) {$this->polling = false;