onehub / Caddyfile
smgc's picture
Update Caddyfile
2c43023 verified
raw
history blame
324 Bytes
{
admin off
log {
output file /app/caddy.log
format console
level info
}
}
{
pki {
ca local {
root_dir /tmp/caddy/pki
}
}
}
:3001 {
reverse_proxy localhost:3000
route /api/* {
handle_path /api/* {
reverse_proxy localhost:3000
}
}
}