Share via


AFDOrigin.OriginHostHeader Property

Definition

Gets or sets the host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint

[Newtonsoft.Json.JsonProperty(PropertyName="properties.originHostHeader")]
public string OriginHostHeader { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.originHostHeader")>]
member this.OriginHostHeader : string with get, set
Public Property OriginHostHeader As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to