Share via


Endpoint.OriginHostHeader Property

Definition

Gets or sets the host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.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.

[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