Configura Kestrel e accesso browser per Docker/Unraid
- Kestrel ora ascolta su 0.0.0.0:8080 per compatibilità Docker - HTTPS redirect attivo solo in sviluppo, disabilitato in prod - Aggiunta sezione "Kestrel" in appsettings.json e nuovo appsettings.Production.json con limiti di sicurezza - Healthcheck Docker ora usa wget su /health (porta 8080) - Aggiunta documentazione dettagliata in BROWSER_ACCESS_CONFIG.md - Migliorata accessibilità browser, supporto reverse proxy e SignalR
This commit is contained in:
20
TradingBot/appsettings.Production.json
Normal file
20
TradingBot/appsettings.Production.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://0.0.0.0:8080"
|
||||
}
|
||||
},
|
||||
"Limits": {
|
||||
"MaxRequestBodySize": 10485760
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user