Skip to content

docs: document support for standard forwarded proxy header#69418

Open
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:forwarded-header
Open

docs: document support for standard forwarded proxy header#69418
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:forwarded-header

Conversation

@alan-agius4

Copy link
Copy Markdown
Contributor

Update the security guide to document that the Angular SSR request handling pipeline now supports and validates the standard RFC 7239 Forwarded header.

Previously, only non-standard X-Forwarded-* headers were supported for resolving proxy-forwarded protocols, hosts, and ports. With this update:

  • The standard Forwarded header parameters (such as host and proto) are validated and take precedence over corresponding X-Forwarded-* headers when trusted.
  • The trustProxyHeaders option and NG_TRUST_PROXY_HEADERS environment variable can be configured to trust the Forwarded header.

For more details on the implementation, see the corresponding PR: angular/angular-cli#33406

Update the security guide to document that the Angular SSR request handling pipeline now supports and validates the standard RFC 7239 `Forwarded` header.

Previously, only non-standard `X-Forwarded-*` headers were supported for resolving proxy-forwarded protocols, hosts, and ports. With this update:
- The standard `Forwarded` header parameters (such as `host` and `proto`) are validated and take precedence over corresponding `X-Forwarded-*` headers when trusted.
- The `trustProxyHeaders` option and `NG_TRUST_PROXY_HEADERS` environment variable can be configured to trust the `Forwarded` header.

For more details on the implementation, see the corresponding PR:
angular/angular-cli#33406
@alan-agius4 alan-agius4 requested a review from dgp1130 June 18, 2026 08:10
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Jun 18, 2026
@pullapprove pullapprove Bot requested a review from josephperrott June 18, 2026 08:10
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Jun 18, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: docs Related to the documentation target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant