mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-15 14:35:55 +00:00
wip
This commit is contained in:
@@ -120,7 +120,7 @@ class TunnelMessageController extends Controller
|
|||||||
{
|
{
|
||||||
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
|
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
|
||||||
|
|
||||||
$host = $this->configuration->hostname();
|
$host = $controlConnection->serverHost;;
|
||||||
|
|
||||||
if (! $request->isSecure()) {
|
if (! $request->isSecure()) {
|
||||||
$host .= ":{$this->configuration->port()}";
|
$host .= ":{$this->configuration->port()}";
|
||||||
|
|||||||
Reference in New Issue
Block a user