newapi / Caddyfile
smgc's picture
Update Caddyfile
6d7d4fe verified
raw
history blame
No virus
240 Bytes
{
admin off
log {
format console
level info
}
}
:3001 {
handle_path /api/v1/* {
rewrite * /v1{path}
reverse_proxy localhost:3000
}
reverse_proxy localhost:3000
}