newapi / Caddyfile
smgc's picture
Update Caddyfile
f51446e verified
raw
history blame
No virus
307 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
}
}
{
pki {
ca local {
root_dir /app/pki
}
}
}