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