kestrel configuration in .net 5 running on docker #2515
Unanswered
parveenLily
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The project works as is on over ssl. But i tried to configure kestrel differently that the build in way, it runs on docker without issue but the page does not load, get a blank page.
I am using the docker file generates by Visual studio. It seems to listen on the port specified but the application does not load. here is how i configure Kestrel to listed on a port:
ConfigureKestrel(k =>
{
k.ConfigureEndpointDefaults(options =>
{
options.Protocols = HttpProtocols.Http2;
options.UseHttps("path to certificate","certname");
});
any help would be appcreciated.
Beta Was this translation helpful? Give feedback.
All reactions