feat: experimental caddy support

This commit is contained in:
Andras Bacsai committed 2024-03-11 15:08:05 +01:00
1 parent 5d3de967f0
commit 34d6a12d95
18 files changed
+252 -113

No files matched your search

+3
View File
@@ -10,6 +10,9 @@ class CheckProxy
use AsAction;
public function handle(Server $server, $fromUI = false)
{
if ($server->proxyType() === 'NONE') {
return false;
}
if (!$server->isProxyShouldRun()) {
if ($fromUI) {
throw new \Exception("Proxy should not run. You selected the Custom Proxy.");