feat: production deployment configuration for dk0.dev

- Fixed authentication system (removed HTTP Basic Auth popup)
- Added session-based authentication with proper logout
- Updated rate limiting (20 req/s for login, 5 req/m for admin)
- Created production deployment scripts and configs
- Updated nginx configuration for dk0.dev domain
- Added comprehensive production deployment guide
- Fixed logout button functionality
- Optimized for production with proper resource limits
This commit is contained in:
2025-10-19 21:48:26 +02:00
parent 138b473418
commit c7bc0ecb1d
16 changed files with 931 additions and 285 deletions

View File

@@ -226,15 +226,7 @@ export function AnalyticsDashboard({ isAuthenticated }: AnalyticsDashboardProps)
return colors[index % colors.length];
};
if (!isAuthenticated) {
return (
<div className="admin-glass-card p-8 rounded-xl text-center">
<BarChart3 className="w-16 h-16 text-white/40 mx-auto mb-4" />
<h3 className="text-xl font-semibold text-white mb-2">Authentication Required</h3>
<p className="text-white/60">Please log in to view analytics data</p>
</div>
);
}
// Authentication disabled - show analytics directly
return (
<div className="space-y-8">