Movatterモバイル変換


[0]ホーム

URL:


  1. Home
  2. Reference documentation
  3. HTTP references
  4. HTTP Headers

Fastly-SSL

Deprecated

Indicates whether the client-side connection used TLS to connect to Fastly.

Fastly writes this header into requests. It is proprietary to Fastly.

Set to"1" on requests that arrived at Fastly over TLS, if the header is not already present on the request.

HINT: InVCL services,fastly_info.edge.is_tls is a better choice in all scenarios in which theFastly-SSL header might otherwise be used. InCompute@Edge services, eachlanguage SDK exposes connection properties which are also a better choice than relying onFastly-SSL.

Be aware of several important caveats when using this header:

  • If the client request includes this header, Fastly will not overwrite or correct it. A client capable of setting arbitrary headers can therefore spoof the value ofFastly-SSL.
  • If the Fastly service is configured to useshielding, the connection between the edge and shield POPs uses TLS if the origin itself supports TLS. The value ofFastly-SSL when read on a machine acting as a shield will therefore be"1" if the origin is configured with TLS enabled.

For a secure method of detecting the TLS state of the connection, seefastly_info.edge.is_tls.


[8]ページ先頭

©2009-2025 Movatter.jp