mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
#591 - sites
This commit is contained in:
@ -10,6 +10,11 @@
|
||||
|
||||
class Caddy extends AbstractWebserver
|
||||
{
|
||||
public function name(): string
|
||||
{
|
||||
return \App\Enums\Webserver::CADDY;
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws SSHError
|
||||
*/
|
||||
|
@ -10,6 +10,11 @@
|
||||
|
||||
class Nginx extends AbstractWebserver
|
||||
{
|
||||
public function name(): string
|
||||
{
|
||||
return \App\Enums\Webserver::NGINX;
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws SSHError
|
||||
*/
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user