MDN Web Docs

Syntax

http

X-Forwarded-Proto: <protocol>

Directives

<protocol>

The forwarded protocol (http or https).

Examples

X-Forwarded-Proto client protocol

The following header indicates that the original request was made over HTTPS before being forwarded by a proxy or load balancer:

http

X-Forwarded-Proto: https

Non-standard forms

The following forms may be seen in request headers:

http

# Microsoft
Front-End-Https: on
X-Forwarded-Protocol: https
X-Forwarded-Ssl: on
X-Url-Scheme: https

Specifications

Not part of any current specification. The standardized version of this header is Forwarded.

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗