Table of Contents

Class CustomHostnameConstants.Sni

Namespace
Cloudflare.NET.Zones.CustomHostnames
Assembly
Cloudflare.NET.dll

Constants for Server Name Indication (SNI) configuration.

public static class CustomHostnameConstants.Sni
Inheritance
CustomHostnameConstants.Sni
Inherited Members

Fields

UseRequestHostHeader

Special value that causes the Host header from the incoming request to be used as the SNI value when Cloudflare connects to the origin server.

public const string UseRequestHostHeader = ":request_host_header:"

Field Value

string

Remarks

Use this value for custom_origin_sni when you want the SNI to dynamically match the Host header of each request, rather than a fixed hostname.