Skip to content

Commit

Permalink
Remove ConfigureHttpsDefaults to avoid collision with FluffySpoon.Asp…
Browse files Browse the repository at this point in the history
…Net.EncryptWeMust

The library we use for LetsEncrypt invokes 'ConfigureHttpsDefaults' at https://github.com/ffMathy/FluffySpoon.AspNet.EncryptWeMust/blob/6f6ac68cad178abadb5838edc8b29274d72d3519/src/FluffySpoon.AspNet.EncryptWeMust/KestrelOptionsSetup.cs#L22-L25
Also see <https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0>
An excerpt from the documentation from Microsoft:
> Calling ConfigureHttpsDefaults multiple times replaces prior Action instances with the last Action specified.

Related discussion at <ffMathy/FluffySpoon.AspNet.EncryptWeMust#124 (comment)>
  • Loading branch information
Viir committed Mar 22, 2024
1 parent da6192e commit 877c369
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions implement/elm-time/Platform/WebService/PublicAppState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ public WebApplication Build(
appBuilder.WebHost
.ConfigureKestrel(kestrelOptions =>
{
kestrelOptions.ConfigureHttpsDefaults(httpsOptions =>
{
});
})
.ConfigureServices(services =>
{
Expand Down

0 comments on commit 877c369

Please sign in to comment.