Remove https
This commit is contained in:
parent
fc04e5f2b5
commit
b86adff83d
@ -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)
|
||||
|
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user