fix: proxy status

fix: start proxy in case any dns set somewhere
This commit is contained in:
Andras Bacsai committed 2023-07-14 13:01:55 +02:00
1 parent 48ad40dea2
commit e9ba295a1e
17 files changed
+130 -155

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ class InstallProxy
{
public function __invoke(Server $server): Activity
{
// TODO: check for other proxies
if (is_null(data_get($server, 'proxy.type'))) {
$server->proxy->type = ProxyTypes::TRAEFIK_V2->value;
$server->proxy->status = ProxyStatus::EXITED->value;