Remove https
This commit is contained in:
parent
fc04e5f2b5
commit
b86adff83d
@ -105,8 +105,7 @@ let main args =
|
|||||||
fun webHostBuilder ->
|
fun webHostBuilder ->
|
||||||
webHostBuilder
|
webHostBuilder
|
||||||
.ConfigureKestrel(fun opt ->
|
.ConfigureKestrel(fun opt ->
|
||||||
opt.AddServerHeader <- false
|
opt.AddServerHeader <- false)
|
||||||
opt.ListenLocalhost(3333, (fun o -> o.UseHttps() |> ignore)))
|
|
||||||
.Configure(Action<IApplicationBuilder> configureApp)
|
.Configure(Action<IApplicationBuilder> configureApp)
|
||||||
.ConfigureServices(configureServices)
|
.ConfigureServices(configureServices)
|
||||||
.ConfigureLogging(configureLogging)
|
.ConfigureLogging(configureLogging)
|
||||||
|
@ -21,5 +21,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
EXPOSE 3333
|
EXPOSE 3333
|
||||||
RUN dotnet dev-certs https
|
EXPOSE 80
|
||||||
|
EXPOSE 443
|
||||||
ENTRYPOINT [ "dotnet", "./CurrencyAPI.App.dll" ]
|
ENTRYPOINT [ "dotnet", "./CurrencyAPI.App.dll" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user