newapi / Caddyfile
smgc's picture
Update Caddyfile
3ef06e4 verified
raw
history blame
No virus
251 Bytes
{
admin off
log {
output file /data/caddy.log
format console
level debug
}
}
:3001 {
reverse_proxy /api localhost:3000
reverse_proxy /api/* localhost:3000 {
rewrite * {http.request.uri.path}
}
}