Remove https

This commit is contained in:
Joseph Ferano 2022-07-21 14:46:54 +07:00
parent fc04e5f2b5
commit b86adff83d
2 changed files with 3 additions and 3 deletions

View File

@ -105,8 +105,7 @@ let main args =
fun webHostBuilder ->
webHostBuilder
.ConfigureKestrel(fun opt ->
opt.AddServerHeader <- false
opt.ListenLocalhost(3333, (fun o -> o.UseHttps() |> ignore)))
opt.AddServerHeader <- false)
.Configure(Action<IApplicationBuilder> configureApp)
.ConfigureServices(configureServices)
.ConfigureLogging(configureLogging)

View File

@ -21,5 +21,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0
WORKDIR /app
COPY --from=publish /app/publish .
EXPOSE 3333
RUN dotnet dev-certs https
EXPOSE 80
EXPOSE 443
ENTRYPOINT [ "dotnet", "./CurrencyAPI.App.dll" ]