Files
managing-apps/src/Managing.Api/appsettings.Sandbox.json
2025-12-14 01:15:40 +07:00

93 lines
2.0 KiB
JSON

{
"Kaigen": {
"BaseUrl": "http://srv-captain--kaigen-back:3000"
},
"Web3Proxy": {
"BaseUrl": "http://srv-captain--web3-proxy:4111",
"MaxRetryAttempts": 2,
"RetryDelayMs": 1500,
"TimeoutSeconds": 30
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Information",
"System": "Warning"
}
}
},
"SqlMonitoring": {
"Enabled": true,
"LoggingEnabled": true,
"SentryEnabled": false,
"LoopDetectionEnabled": true,
"LogSlowQueriesOnly": true
},
"RunOrleansGrains": true,
"AllowedHosts": "*",
"Cors": {
"AllowedOrigins": [
"https://kaigen-web.apps.managing.live",
"https://web-ui.kai.managing.live",
"http://localhost:3000"
]
},
"Authentication": {
"Schemes": {
"Bearer": {
"ValidIssuer": "https://dev-managing-api.apps.managing.live",
"ValidAudiences": [
"https://kaigen-web.apps.managing.live",
"https://web-ui.kai.managing.live",
"http://localhost:3000"
]
}
}
},
"Jwt": {
"ValidateIssuer": true,
"ValidateAudience": true,
"ClockSkewSeconds": 0
},
"IpRateLimiting": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"IpWhitelist": [],
"EndpointWhitelist": [],
"ClientWhitelist": [],
"GeneralRules": [
{
"Endpoint": "*",
"Period": "1m",
"Limit": 100
},
{
"Endpoint": "POST:/user/create-token",
"Period": "1m",
"Limit": 5
},
{
"Endpoint": "POST:*",
"Period": "1m",
"Limit": 30
}
]
},
"IpRateLimitPolicies": {
"IpRules": [],
"ClientRules": [],
"EndpointRules": []
},
"Kestrel": {
"Limits": {
"MaxRequestBodySize": 10485760,
"MaxRequestHeadersTotalSize": 32768,
"MaxConcurrentConnections": 100,
"MaxConcurrentUpgradedConnections": 100
}
}
}