This commit is contained in:
Andras Bacsai
2023-05-15 21:14:45 +02:00
parent 43a4b1c9cb
commit 6910f9c5c7
5 changed files with 64 additions and 56 deletions

View File

@@ -11,11 +11,16 @@ use Livewire\Component;
class Proxy extends Component
{
protected $listeners = ['serverValidated'];
public Server $server;
public ProxyTypes $selectedProxy = ProxyTypes::TRAEFIK_V2;
public $proxy_settings = null;
public function serverValidated()
{
$this->server->settings->refresh();
}
public function installProxy()
{
$this->saveConfiguration($this->server);