Skip to content

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

Closed
@johann-sonntagbauer

Description

@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

  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions