/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/DefaultBuilder/samples/SampleApp/appsettings.Development.json
53 строки
1 KB
Chris Ross
Add ForwardedHeaders to CreateDefaultBuilder #4135 (#10273)
17 май 2019, 23:07
Не верифицирован
17 май 2019, 23:07
b670246
Код
Авторство
О чём код?
{ "AllowedHosts": "example.com;localhost", "Kestrel": { "EndPoints": { "Http": { "Url": "http://localhost:5005" }, "Https": { "Url": "https://localhost:5006" } // 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) //} } }