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