Skip to content

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.

Fixed incorrect caddy proxy config file path on ui

ShadowArcaniste193490b9ffd
diff --git a/app/Livewire/Server/Proxy.php b/app/Livewire/Server/Proxy.php
index 5ef5598620..9b345181c5 100644
--- a/app/Livewire/Server/Proxy.php
+++ b/app/Livewire/Server/Proxy.php
@@ -43,9 +43,9 @@ class Proxy extends Component
$this->redirectUrl = data_get($this->server, 'proxy.redirect_url');
}
- public function getConfigurationFilePathProperty()
+ public function getConfigurationFilePathProperty(): string
{
- return $this->server->proxyPath().'docker-compose.yml';
+ return rtrim($this->server->proxyPath(), '/') . '/docker-compose.yml';
}
public function changeProxy()