This commit is contained in:
Konstantinos Christoforou
2024-11-12 19:22:07 +02:00
parent 85d0728322
commit 1a27196e1a

View File

@@ -283,9 +283,9 @@ function fqdnLabelsForCaddy(string $network, string $uuid, Collection $domains,
$host_without_www = str($host)->replace('www.', ''); $host_without_www = str($host)->replace('www.', '');
$schema = $url->getScheme(); $schema = $url->getScheme();
$port = $url->getPort(); $port = $url->getPort();
$handle = "handle_path" $handle = "handle_path";
if ( ! $is_stripprefix_enabled){ if ( ! $is_stripprefix_enabled){
$handle = "handle" $handle = "handle";
} }
if (is_null($port) && ! is_null($onlyPort)) { if (is_null($port) && ! is_null($onlyPort)) {
$port = $onlyPort; $port = $onlyPort;