onehub / Caddyfile
smgc's picture
Update Caddyfile
795a300 verified
raw
history blame
275 Bytes
{
admin off
log {
output file /data/caddy.log
format console
level debug
}
}
:3001 {
reverse_proxy /api/* localhost:3000 {
rewrite * {http.request.uri.path}
}
handle /api {
reverse_proxy localhost:3000
}
}