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: proxy conf in dev
Andras Bacsaice49f4806db9
diff --git a/app/Actions/Proxy/CheckConfiguration.php b/app/Actions/Proxy/CheckConfiguration.phpindex f4fe650c50..bdeafd0611 100644--- a/app/Actions/Proxy/CheckConfiguration.php+++ b/app/Actions/Proxy/CheckConfiguration.php@@ -22,7 +22,7 @@ class CheckConfiguration];$proxy_configuration = instant_remote_process($payload, $server, false);if ($reset || ! $proxy_configuration || is_null($proxy_configuration)) {- $proxy_configuration = str(generate_default_proxy_configuration($server))->trim()->value;+ $proxy_configuration = str(generate_default_proxy_configuration($server))->trim()->value();}if (! $proxy_configuration || is_null($proxy_configuration)) {throw new \Exception('Could not generate proxy configuration');diff --git a/app/Models/Server.php b/app/Models/Server.phpindex 3329c97613..6644599c74 100644--- a/app/Models/Server.php+++ b/app/Models/Server.php@@ -448,12 +448,15 @@ $schema://$host {// Should move everything except /caddy and /nginx to /traefik// The code needs to be modified as well, so maybe it does not worth itif ($proxyType === ProxyTypes::TRAEFIK->value) {- $proxy_path = $proxy_path;+ // Do nothing} elseif ($proxyType === ProxyTypes::CADDY->value) {$proxy_path = $proxy_path.'/caddy';} elseif ($proxyType === ProxyTypes::NGINX->value) {$proxy_path = $proxy_path.'/nginx';}+ if (isDev()) {+ $proxy_path = '/var/lib/docker/volumes/coolify_dev_coolify_data/_data/proxy';+ }return $proxy_path;}