HttpsRedirectionOptions.HttpsPort Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.