Skip to content

Documentation suggestion: haproxy #9

@dsadinoff

Description

@dsadinoff

For proxies such as haproxy, I would suggest that we mention the following snippet in the docs:

/* fixup the request proxy interpreter for haproxy */
   Request::setTrustedHeaderName(Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_PROTO,'X_FORWARDED_SCHEME');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions