This commit is contained in:
Waylon Walker 2025-11-21 12:50:29 -06:00
commit 1e11c8ca5e
12 changed files with 579 additions and 0 deletions

33
site/403/index.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>403 Forbidden - nginx auth demo</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-900 text-white min-h-screen flex items-center justify-center">
<div class="text-center space-y-6 max-w-md mx-auto">
<h1 class="text-6xl font-bold text-red-400">403</h1>
<h2 class="text-2xl font-semibold text-gray-200">Access Forbidden</h2>
<p class="text-gray-300">Your current user role doesn't have access to this resource</p>
<div class="bg-red-900/20 border border-red-500 rounded p-4 text-red-300">
<p class="text-sm">🔒 nginx auth_request blocked this request</p>
<p class="text-sm">Try logging in with different credentials</p>
</div>
<div class="space-y-3">
<div>
<a href="/login" class="inline-block px-6 py-3 bg-blue-600 hover:bg-blue-700 rounded text-white">
Login with Different User
</a>
</div>
<div class="space-x-4">
<a href="/" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded">Home</a>
<a href="/logout" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded">Logout</a>
</div>
</div>
</div>
</body>
</html>