26 lines
619 B
Caddyfile
26 lines
619 B
Caddyfile
# MadBase Global Entrypoint Configuration (Caddy)
|
|
# Automatically secures HTTP traffic over Let's Encrypt TLS and acts as the edge reverse proxy.
|
|
# Ensure your DNS records (A/CNAME) target this server instance before running.
|
|
{
|
|
email admin@madbase.local # Change this to a valid administrative email for Let's Encrypt recovery communications
|
|
}
|
|
|
|
# The Control Plane API
|
|
api.madbase.local {
|
|
reverse_proxy system:8001
|
|
}
|
|
|
|
# Web Platform / Admin Dashboard
|
|
app.madbase.local {
|
|
reverse_proxy proxy:8000
|
|
}
|
|
|
|
# The Main Edge Proxy
|
|
*.madbase.local {
|
|
tls {
|
|
on_demand
|
|
}
|
|
reverse_proxy proxy:8000
|
|
}
|