init
This commit is contained in:
commit
1e11c8ca5e
12 changed files with 579 additions and 0 deletions
27
site/index.html
Normal file
27
site/index.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>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">
|
||||
<h1 class="text-4xl font-bold text-blue-400">nginx auth demo</h1>
|
||||
<p class="text-gray-300">Everyone can see this page</p>
|
||||
|
||||
<div class="space-y-4">
|
||||
<div>
|
||||
<a href="/admin" class="inline-block px-6 py-3 bg-red-600 hover:bg-red-700 rounded text-white">
|
||||
Admin Page (requires admin role)
|
||||
</a>
|
||||
</div>
|
||||
<div class="space-x-4">
|
||||
<a href="/login" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded">Login</a>
|
||||
<a href="/logout" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue