Tratcher MvcOptions SslPort
parent
4acc28cedd
commit
fb6b88ab30
|
@ -58,6 +58,7 @@ Some external authentication providers will reject requests coming from origins
|
|||
````csharp
|
||||
services.AddMvc(options =>
|
||||
{
|
||||
options.SslPort = 44321;
|
||||
options.Filters.Add(new RequireHttpsAttribute ());
|
||||
});
|
||||
````
|
||||
|
|
Loading…
Reference in New Issue