Compare commits
3 commits
claude/her
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f86aba0a49 | ||
| e237eb678b | |||
| 506912ff09 |
3 changed files with 58 additions and 4 deletions
|
|
@ -138,6 +138,7 @@ services:
|
||||||
required: false
|
required: false
|
||||||
volumes:
|
volumes:
|
||||||
- ../proxy/Caddyfile:/etc/caddy/Caddyfile:ro
|
- ../proxy/Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
- ../proxy/www:/srv/www:ro
|
||||||
- caddy-data:/data
|
- caddy-data:/data
|
||||||
- caddy-config:/config
|
- caddy-config:/config
|
||||||
command: caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
command: caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
||||||
|
|
|
||||||
|
|
@ -22,11 +22,15 @@
|
||||||
email {$ACME_EMAIL:}
|
email {$ACME_EMAIL:}
|
||||||
}
|
}
|
||||||
|
|
||||||
# HIY dashboard — served at your root domain.
|
# Portfolio — root domain placeholder until portfolio site is built.
|
||||||
# TLS behaviour:
|
|
||||||
# ACME_EMAIL set → Caddy requests a Let's Encrypt cert (production)
|
|
||||||
# ACME_EMAIL unset → Caddy uses its built-in internal CA (local / LAN domains)
|
|
||||||
{$DOMAIN_SUFFIX:localhost} {
|
{$DOMAIN_SUFFIX:localhost} {
|
||||||
|
tls {$ACME_EMAIL:internal}
|
||||||
|
root * /srv/www
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
|
# HIY control plane — moved from root domain to console subdomain.
|
||||||
|
console.{$DOMAIN_SUFFIX:localhost} {
|
||||||
tls {$ACME_EMAIL:internal}
|
tls {$ACME_EMAIL:internal}
|
||||||
reverse_proxy server:3000
|
reverse_proxy server:3000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
49
proxy/www/index.html
Normal file
49
proxy/www/index.html
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Sander Hautvast</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||||
|
background: #0f0f0f;
|
||||||
|
color: #e0e0e0;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
font-weight: 300;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 1rem;
|
||||||
|
font-size: 1rem;
|
||||||
|
color: #888;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<h1>Sander Hautvast</h1>
|
||||||
|
<p>Coming soon.</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Reference in a new issue