life-deployments/Caddyfile
autocommit 7d5fec518a chore(caddy): 🔧 Update Caddy server host configuration for internal network access
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 04:57:30 -07:00

36 lines
608 B
Caddyfile

{
auto_https disable_redirects
}
https://{$LM_CADDY_HOST:apricot.lan}:5700 {
tls internal
log {
output file {$HOME}/.local/state/life-platform/access.log {
roll_size 10mb
roll_keep 2
}
format json
}
handle /api/* {
reverse_proxy localhost:3700
}
handle /socket.io/* {
reverse_proxy localhost:3700
}
handle /apps/events/* {
uri strip_prefix /apps/events
root * {$HOME}/.local/share/life-platform/apps/events/dist
try_files {path} /index.html
file_server
}
handle {
root * {$HOME}/.local/share/life-platform/web/dist
try_files {path} /index.html
file_server
}
}