Add project files.

This commit is contained in:
Dmitriy yawaflua Andreev
2024-07-31 07:26:18 +03:00
parent f5be6053ea
commit 3c37e25485
19 changed files with 819 additions and 0 deletions

25
appsettings.json Normal file
View File

@@ -0,0 +1,25 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"IpRateLimiting": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"GeneralRules": [
{
"Endpoint": "*",
"Period": "1m",
"Limit": 15
}
]
}
}
}