newapi / Caddyfile
smgc's picture
Update Caddyfile
8637069 verified
raw
history blame
217 Bytes
{
admin off
log {
output discard
}
}
:3001 {
handle_path /api/v1/* {
rewrite * /v1{path}
reverse_proxy localhost:3000
}
reverse_proxy localhost:3000
}