newapi / Caddyfile
smgc's picture
Update Caddyfile
035916f verified
raw
history blame
No virus
289 Bytes
{
admin off
log {
output file /app/caddy.log
format console
level info
}
}
:3001 {
handle_path /api/v1/* {
rewrite * /v1{path}
reverse_proxy http://localhost:3000
}
reverse_proxy http://localhost:3000
}