Share via


HttpsRedirectionOptions.HttpsPort Property

Definition

The HTTPS port to be added to the redirected URL.

public:
 property Nullable<int> HttpsPort { Nullable<int> get(); void set(Nullable<int> value); };
public int? HttpsPort { get; set; }
member this.HttpsPort : Nullable<int> with get, set
Public Property HttpsPort As Nullable(Of Integer)

Property Value

Remarks

If the HttpsPort is not set, we will try to get the HttpsPort from the following: 1. HTTPS_PORT environment variable 2. IServerAddressesFeature If that fails then the middleware will log a warning and turn off.

Applies to