First Commit
This commit is contained in:
62
Apis/ADS.Host/appsettings.json
Normal file
62
Apis/ADS.Host/appsettings.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"MultiTenant": {
|
||||
"HeaderName": "X-Tenant",
|
||||
"DefaultTenantId": "demo",
|
||||
"RequireTenant": false,
|
||||
"BypassPaths": ["/swagger", "/health"]
|
||||
},
|
||||
|
||||
"Tenants": {
|
||||
"demo": {
|
||||
"TenantId": "demo",
|
||||
"EmpresaId": 172,
|
||||
"ClienteId": 1,
|
||||
"Culture": "es-MX",
|
||||
"Theme": "default",
|
||||
"Database": {
|
||||
"Provider": "SqlServer",
|
||||
"ConnectionString": "Data Source=(local);Initial Catalog=GPS;User Id=GPSUsr;Password=Productivo2022#;pooling=True; Min Pool Size=10;Application Name=APIDemo"
|
||||
},
|
||||
"CustomSettings": {
|
||||
"GpsVendor": "Concox"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Jwt": {
|
||||
"Issuer": "ADS",
|
||||
"Audience": "ADS_APIS",
|
||||
"SigningKey": "SUPER_JCau127*953SECRET_KEY_CHANGE_THIS",
|
||||
"ValidateLifetime": true,
|
||||
"ClockSkewMinutes": 5
|
||||
},
|
||||
|
||||
"ReverseProxy": {
|
||||
"Routes": {
|
||||
"gpsRoute": {
|
||||
"ClusterId": "gpsCluster",
|
||||
"Match": {
|
||||
"Path": "/gps/{**catch-all}"
|
||||
},
|
||||
"Transforms": [
|
||||
{ "PathRemovePrefix": "/gps" }
|
||||
],
|
||||
"Metadata": {
|
||||
"RequireInternalTenant": "true"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Clusters": {
|
||||
"gpsCluster": {
|
||||
"Destinations": {
|
||||
"gps": {
|
||||
"Address": "http://localhost:5023/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"InternalRouting": {
|
||||
"SharedSecret": "MISMO_SECRETO_DEL_HOST",
|
||||
"MaxSkewSeconds": 120
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user