Skip to content
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

set X-FORWARDED-* headers for proxied requests #1676

Closed
johann-sonntagbauer opened this issue Feb 28, 2017 · 2 comments
Closed

set X-FORWARDED-* headers for proxied requests #1676

johann-sonntagbauer opened this issue Feb 28, 2017 · 2 comments
Milestone

Comments

@johann-sonntagbauer
Copy link
Contributor

johann-sonntagbauer commented Feb 28, 2017

Description

The local dev server supports a proxy feature. Request will then be routed over a proxy middleware. The proxy middleware should be instructed to send X-FORWARD Header to proper support URL generation on the backend.

Detailed Information why this headers are important can be found here

Expected behavior

The proxy middleware sends the headers.

Actual behavior

No headers will be sent therefor REST Hateoas backend implementations have a hard time to generate links for the client.

Environment

  1. npm ls react-scripts (if you haven’t ejected): 0.9.2

  2. node -v: 7.2.0

  3. npm -v: 3.9.2

  4. Operating system: Windows 10 Version 1511

@johann-sonntagbauer johann-sonntagbauer changed the title set X-FORWARD header for proxied requests set X-FORWARDED-* header for proxied requests Feb 28, 2017
@johann-sonntagbauer johann-sonntagbauer changed the title set X-FORWARDED-* header for proxied requests set X-FORWARDED-* headers for proxied requests Feb 28, 2017
@Timer
Copy link
Contributor

Timer commented Feb 28, 2017

Resolved by #1677

@Timer Timer closed this as completed Feb 28, 2017
@gaearon gaearon added this to the 0.9.3 milestone Feb 28, 2017
@gaearon
Copy link
Contributor

gaearon commented Feb 28, 2017

Out in 0.9.3, please verify!

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants