fix
This commit is contained in:
@ -51,7 +51,7 @@ if (!$ip || $nginx !== 'active' || $mysql !== 'active') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// === Proxy to container ===
|
// === Proxy to container ===
|
||||||
proxy($container, "http://lxd{$host}{$requestUri}");
|
proxy($container, "http://{$host}{$requestUri}");
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ function proxy(string $name, string $targetUrl): void {
|
|||||||
|
|
||||||
$responseCode = Proxy::run();
|
$responseCode = Proxy::run();
|
||||||
touch($_ENV['STATEDIR']."/".$name);
|
touch($_ENV['STATEDIR']."/".$name);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFullUrl(): string {
|
function getFullUrl(): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user