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
Add server connection validation in CheckProxy.php
Andras Bacsaia6cbabfba5c4
diff --git a/app/Actions/Proxy/CheckProxy.php b/app/Actions/Proxy/CheckProxy.phpindex 32a4897a63..d39b33a2af 100644--- a/app/Actions/Proxy/CheckProxy.php+++ b/app/Actions/Proxy/CheckProxy.php@@ -13,6 +13,9 @@ class CheckProxyif ($server->proxyType() === 'NONE') {return false;}+ if (!$server->validateConnection()) {+ throw new \Exception("Server Connection Error");+ }if (!$server->isProxyShouldRun()) {if ($fromUI) {throw new \Exception("Proxy should not run. You selected the Custom Proxy.");