feat: allow disabling default redirect, set status to 503

This commit is contained in:
Kael
2024-10-11 02:44:52 +11:00
parent 99431998f5
commit b997b7393b
5 changed files with 91 additions and 77 deletions

View File

@@ -14,7 +14,7 @@ class ProxyStartedNotification
public function handle(ProxyStarted $event): void
{
$this->server = data_get($event, 'data');
$this->server->setupDefault404Redirect();
$this->server->setupDefaultRedirect();
$this->server->setupDynamicProxyConfiguration();
$this->server->proxy->force_stop = false;
$this->server->save();