Skip to content

Set localhost as a trusted-proxy #110

Closed
@bratao

Description

@bratao

Into my local fork I had to set localhost as a trusted-proxy for Laravel/Symfony

So during a reverse proxy using Nginx I can detect correctly the protocol for asset()

Line 190 on function mapRequest @ HttpKernel.php
$class::setTrustedProxies(array('127.0.0.1/8'));

I just created this Issue so others can find a solution. I think that the correct way should set trusted proxies as a config.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions