Skip to content

Instantly share code, notes, and snippets.

@PradeepLoganathan
Created July 9, 2020 00:52
Show Gist options
  • Select an option

  • Save PradeepLoganathan/8cf017504b346a82f26afd704088c7d8 to your computer and use it in GitHub Desktop.

Select an option

Save PradeepLoganathan/8cf017504b346a82f26afd704088c7d8 to your computer and use it in GitHub Desktop.
Configuring http2 using appsettings
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://localhost:5000"
},
"HttpsInlineCertFile": {
"Url": "https://localhost:5001",
"Protocols": "Http1AndHttp2",
"Certificate": {
"Path": "./certificate.pfx",
"Password": "DoNotUsePassword",
"AllowInvalid": "true"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment