You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/ApiGateway/appsettings.json

54 lines
1.4 KiB

{
"version": "1.0.0-beta.1",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"UseMiniProfiler": false,
"ConnectionStrings": {
"database.mysql.connection": "Server=127.0.0.1;Port=3306;Database=apigeteway;Uid=root;Pwd=root;",
"database.sqlite.connection": "Data Source=apigeteway.db"
},
"AppSettings": {
"database": "sqlite",
"UseCookieSessionStore": false
},
"GlobalConfiguration": {
"BaseUrl": "http://192.168.3.8080/"
},
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/{version}/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.3.84",
"Port": 8000
}
],
"UpstreamPathTemplate": "/api/{version}/identity/{everything}",
"UpstreamHttpMethod": [],
"AuthenticationOptions": {
"AuthenticationProviderKey": "IdentityApiKey",
"AllowedScopes": []
}
},
{
"DownstreamPathTemplate": "/api/{version}/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.3.84",
"Port": 8001
}
],
"UpstreamPathTemplate": "/api/{version}/iot/{everything}",
"UpstreamHttpMethod": [],
"AuthenticationOptions": {
"AuthenticationProviderKey": "IdentityApiKey",
"AllowedScopes": []
}
}
]
}