Separate dashboard port, first-run password setup and default trusted proxies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-14 17:21:49 +01:00
1 parent a34ff96490
commit c22d452720
25 files changed
+654 -109

No files matched your search

+7 -1
View File
@@ -11,7 +11,13 @@ using Microsoft.AspNetCore.DataProtection;
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.ConfigureKestrel(options => options.AddServerHeader = false);
var ports = builder.Configuration.GetSection(PortOptions.SectionName).Get<PortOptions>() ?? new PortOptions();
builder.WebHost.ConfigureKestrel(options =>
{
options.AddServerHeader = false;
options.ListenAnyIP(ports.Trap);
options.ListenAnyIP(ports.Dashboard);
});
builder.AddFlypaperStorage();
builder.Services.AddRazorComponents();