newapi / Caddyfile
smgc's picture
Update Caddyfile
1a4224f verified
raw
history blame
260 Bytes
{
admin off
log {
output file /data/caddy.log
format console
level debug
}
}
:3001 {
route /api/* {
handle_path /api/* {
reverse_proxy localhost:3000
}
}
respond "404 Not Found" 404
}