зеркало из https://github.com/dotnet/aspnetcore.git
51 строка
1.4 KiB
JSON
51 строка
1.4 KiB
JSON
{
|
|
"AllowedHosts": "example.com;localhost",
|
|
"Kestrel": {
|
|
"EndPoints": {
|
|
"Http": {
|
|
"Url": "http://localhost:5005"
|
|
}
|
|
|
|
// To enable HTTPS using a certificate file, set the path to a .pfx file in
|
|
// the "Path" property below and configure the password in user secrets.
|
|
// The "Password" property should be set in user secrets.
|
|
//"HttpsInlineCertFile": {
|
|
// "Url": "http://localhost:5005"
|
|
// "Certificate": {
|
|
// "Path": "<path to .pfx file>",
|
|
// "Password: "<cert password>"
|
|
// }
|
|
//},
|
|
|
|
//"HttpsInlineCertStore": {
|
|
// "Url": "http://localhost:5005"
|
|
// "Certificate": {
|
|
// "Subject": "",
|
|
// "Store": "",
|
|
// "Location": "",
|
|
// "AllowInvalid": "" // Set to "true" to allow invalid certificates (e.g. expired)
|
|
// }
|
|
//},
|
|
|
|
// This uses the cert defined under Certificates/Default or the development cert.
|
|
//"HttpsDefaultCert": {
|
|
// "Url": "http://localhost:5005"
|
|
//}
|
|
}
|
|
},
|
|
"Certificates": {
|
|
//"Default": {
|
|
// "Path": "<file>",
|
|
// "Password": "<password>"
|
|
//},
|
|
|
|
// From cert store:
|
|
//"Default": {
|
|
// "Subject": "",
|
|
// "Store": "",
|
|
// "Location": "",
|
|
// "AllowInvalid": "" // Set to "true" to allow invalid certificates (e.g. expired certificates)
|
|
//}
|
|
}
|
|
}
|