feat: update nginx-mcp configmap - stable v1 dark purple
This commit is contained in:
@@ -9,83 +9,39 @@ data:
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
||||||
<title>MCP Stable v1</title>
|
<title>MCP Stable v1</title>
|
||||||
<style>
|
<style>
|
||||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
*{margin:0;padding:0;box-sizing:border-box}
|
||||||
body {
|
body{min-height:100vh;background:linear-gradient(135deg,#1a0033 0%,#2d0057 40%,#4a0080 70%,#1a0033 100%);font-family:'Segoe UI',system-ui,sans-serif;display:flex;align-items:center;justify-content:center;color:#fff}
|
||||||
min-height: 100vh;
|
.card{background:rgba(255,255,255,.07);backdrop-filter:blur(16px);border:1px solid rgba(180,100,255,.3);border-radius:20px;padding:50px 60px;max-width:560px;width:90%;text-align:center;box-shadow:0 8px 60px rgba(120,0,255,.25)}
|
||||||
background: linear-gradient(135deg, #1a0033 0%, #2d0057 40%, #4a0080 70%, #1a0033 100%);
|
h1{font-size:2.4rem;font-weight:700;margin-bottom:10px}
|
||||||
font-family: 'Segoe UI', system-ui, sans-serif;
|
.badge{display:inline-block;background:linear-gradient(90deg,#7c3aed,#a855f7);color:#fff;font-size:.78rem;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;padding:5px 16px;border-radius:99px;margin-bottom:28px}
|
||||||
display: flex; align-items: center; justify-content: center;
|
.version{font-size:1rem;color:#c084fc;margin-bottom:24px;font-weight:500}
|
||||||
color: #fff;
|
hr{border:none;border-top:1px solid rgba(180,100,255,.2);margin:24px 0}
|
||||||
}
|
.ip-label{font-size:.8rem;color:#a78bfa;text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}
|
||||||
.card {
|
.ip-value{font-size:1.4rem;font-weight:600;color:#e9d5ff;font-family:monospace}
|
||||||
background: rgba(255,255,255,0.07);
|
.footer{margin-top:28px;font-size:.75rem;color:rgba(180,100,255,.5)}
|
||||||
backdrop-filter: blur(16px);
|
|
||||||
border: 1px solid rgba(180,100,255,0.3);
|
|
||||||
border-radius: 20px;
|
|
||||||
padding: 50px 60px;
|
|
||||||
max-width: 560px;
|
|
||||||
width: 90%;
|
|
||||||
text-align: center;
|
|
||||||
box-shadow: 0 8px 60px rgba(120,0,255,0.25);
|
|
||||||
}
|
|
||||||
h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -1px; }
|
|
||||||
.badge {
|
|
||||||
display: inline-block;
|
|
||||||
background: linear-gradient(90deg, #7c3aed, #a855f7);
|
|
||||||
color: #fff;
|
|
||||||
font-size: 0.78rem;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 1.5px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
padding: 5px 16px;
|
|
||||||
border-radius: 99px;
|
|
||||||
margin-bottom: 28px;
|
|
||||||
}
|
|
||||||
.version {
|
|
||||||
font-size: 1rem;
|
|
||||||
color: #c084fc;
|
|
||||||
margin-bottom: 24px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
.divider { border: none; border-top: 1px solid rgba(180,100,255,0.2); margin: 24px 0; }
|
|
||||||
.ip-label { font-size: 0.8rem; color: #a78bfa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
|
|
||||||
.ip-value { font-size: 1.4rem; font-weight: 600; color: #e9d5ff; font-family: monospace; }
|
|
||||||
.footer { margin-top: 28px; font-size: 0.75rem; color: rgba(180,100,255,0.5); }
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="badge">⚡ MCP Powered</div>
|
<div class="badge">MCP Powered</div>
|
||||||
<h1>Hello from MCP</h1>
|
<h1>Hello from MCP</h1>
|
||||||
<div class="version">v1 stable</div>
|
<div class="version">v1 stable</div>
|
||||||
<hr class="divider"/>
|
<hr/>
|
||||||
<div class="ip-label">Your IP Address</div>
|
<div class="ip-label">Your IP Address</div>
|
||||||
<div class="ip-value" id="ip">detecting...</div>
|
<div class="ip-value" id="ip">detecting...</div>
|
||||||
<div class="footer">thedevops.dev · nginx-mcp namespace</div>
|
<div class="footer">thedevops.dev - nginx-mcp namespace</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>fetch('https://api.ipify.org?format=json').then(r=>r.json()).then(d=>document.getElementById('ip').textContent=d.ip).catch(()=>document.getElementById('ip').textContent='unavailable')</script>
|
||||||
fetch('https://api.ipify.org?format=json')
|
|
||||||
.then(r => r.json())
|
|
||||||
.then(d => document.getElementById('ip').textContent = d.ip)
|
|
||||||
.catch(() => document.getElementById('ip').textContent = 'unavailable');
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
nginx.conf: |
|
nginx.conf: |
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
location / {
|
location / { try_files $uri $uri/ /index.html; }
|
||||||
try_files $uri $uri/ /index.html;
|
location /healthz { return 200 'ok'; add_header Content-Type text/plain; }
|
||||||
}
|
|
||||||
location /healthz {
|
|
||||||
return 200 'ok';
|
|
||||||
add_header Content-Type text/plain;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user