15 lines
329 B
Caddyfile
15 lines
329 B
Caddyfile
# Managed by CI — deployed to /etc/caddy/Caddyfile on the server.
|
|
# Caddy handles TLS automatically via Let's Encrypt.
|
|
|
|
api.{$DRB_DOMAIN} {
|
|
reverse_proxy localhost:8888 {
|
|
header_up X-Forwarded-For {remote_host}
|
|
}
|
|
}
|
|
|
|
app.{$DRB_DOMAIN} {
|
|
reverse_proxy localhost:3000 {
|
|
header_up X-Forwarded-For {remote_host}
|
|
}
|
|
}
|