15 lines
397 B
PHP
15 lines
397 B
PHP
<?php
|
|
|
|
namespace App\Services\Traefik;
|
|
|
|
interface TraefikWriter
|
|
{
|
|
/** Write a file-provider router for subdomain → target host. */
|
|
public function write(string $subdomain, string $targetHost): void;
|
|
|
|
public function remove(string $subdomain): void;
|
|
|
|
/** True once the ACME (HTTP-01) certificate for the fqdn is served. */
|
|
public function certReachable(string $fqdn): bool;
|
|
}
|