fix: proxy status
fix: start proxy in case any dns set somewhere
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user