newapi / Caddyfile
smgc's picture
Update Caddyfile
66e2a41 verified
raw
history blame
No virus
245 Bytes
{
admin off
log {
output file /app/caddy.log
format console
level debug
}
}
::3001 {
reverse_proxy localhost:3000
route /api/v1/* {
rewrite /api/v1/* /v1/{path}
reverse_proxy localhost:3000
}
}