Files
htl-reverse-proxy-tls-lab/backends/a/index.html
T

75 lines
1.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Backend A</title>
<style>
:root {
--bg: #0f1b2e;
--card: #173252;
--line: #3a6e96;
--text: #e9f2fb;
--muted: #b6cce0;
--accent: #4ecdc4;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
padding: 1rem;
font-family: "Fira Sans", "Segoe UI", sans-serif;
color: var(--text);
background: radial-gradient(circle at top right, #22456b, var(--bg) 60%);
}
main {
width: min(760px, 100%);
background: var(--card);
border: 1px solid var(--line);
border-radius: 14px;
padding: 1.1rem;
}
h1 {
margin-top: 0;
}
p {
color: var(--muted);
}
code {
background: #0f2438;
border: 1px solid #2d587a;
border-radius: 6px;
padding: 0.1rem 0.35rem;
}
.tag {
display: inline-block;
background: var(--accent);
color: #072420;
border-radius: 999px;
padding: 0.15rem 0.55rem;
font-weight: 700;
font-size: 0.85rem;
}
</style>
</head>
<body>
<main>
<span class="tag">Backend A</span>
<h1>Reverse Proxy Target A</h1>
<p>This page is served by backend A and reached through Nginx reverse proxy.</p>
<p>Route example: <code>/service/a</code></p>
</main>
</body>
</html>