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