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