set X-FORWARDED-* headers for proxied requests
Created by: johann-sonntagbauer
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
-
npm ls react-scripts
(if you haven’t ejected): 0.9.2 -
node -v
: 7.2.0 -
npm -v
: 3.9.2 -
Operating system: Windows 10 Version 1511