This commit is contained in:
Saeed Vaziry
2025-06-04 08:08:20 +02:00
parent efacadba10
commit c3f69f3247
114 changed files with 4032 additions and 765 deletions

View File

@ -10,6 +10,11 @@
class Caddy extends AbstractWebserver
{
public function name(): string
{
return \App\Enums\Webserver::CADDY;
}
/**
* @throws SSHError
*/

View File

@ -10,6 +10,11 @@
class Nginx extends AbstractWebserver
{
public function name(): string
{
return \App\Enums\Webserver::NGINX;
}
/**
* @throws SSHError
*/

View File

@ -8,6 +8,8 @@
interface Webserver extends ServiceInterface
{
public function name(): string;
public function createVHost(Site $site): void;
public function updateVHost(Site $site, ?string $vhost = null): void;