This commit is contained in:
Marcel Pociot
2021-06-02 12:34:43 +02:00
parent c3896e0ba2
commit b9719ea420

View File

@@ -120,7 +120,7 @@ class TunnelMessageController extends Controller
{
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
$host = $this->configuration->hostname();
$host = $controlConnection->serverHost;;
if (! $request->isSecure()) {
$host .= ":{$this->configuration->port()}";