Files
SIG_NetCore_DDD/Apis/ADS.Host/appsettings.json
Jorge Luis caudillo esparza d0c284d9c0 First Commit
2026-05-09 16:36:57 -07:00

63 lines
1.4 KiB
JSON

{
"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
}
}