Skip to content

add support for custom headers when using a proxy #12117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

brambaud
Copy link
Contributor

@brambaud brambaud commented Aug 7, 2019

See symfony/symfony#32961 and symfony/symfony#26333.

We should document how to use custom headers when using reverse proxies since Request::setTrustedHeaderName() has been deprecated.

@OskarStark
Copy link
Contributor

Thank you @brambaud.

@OskarStark OskarStark merged commit a63c5a6 into symfony:3.4 Aug 16, 2019
OskarStark added a commit that referenced this pull request Aug 16, 2019
…aud)

This PR was merged into the 3.4 branch.

Discussion
----------

add support for custom headers when using a proxy

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

See symfony/symfony#32961 and symfony/symfony#26333.

We should document how to use custom headers when using reverse proxies since `Request::setTrustedHeaderName()` has been deprecated.

Commits
-------

a63c5a6 add support for custom headers when using a proxy
OskarStark added a commit that referenced this pull request Aug 16, 2019
OskarStark added a commit that referenced this pull request Aug 16, 2019
* 3.4:
  Tweaks #12117
  add support for custom headers when using a proxy
OskarStark added a commit that referenced this pull request Aug 16, 2019
OskarStark added a commit that referenced this pull request Aug 16, 2019
* 4.3:
  Fix filepath for Symfony 4.x #12117
  Tweaks #12117
  add support for custom headers when using a proxy
OskarStark added a commit that referenced this pull request Aug 16, 2019
* 4.4:
  Fix filepath for Symfony 4.x #12117
  Tweaks #12117
  add support for custom headers when using a proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants