If you need just reverse proxy, Caddyfile syntax looks simpler:
myapp.company.com {
reverse_proxy localhost:3000
} myapp.company.com {
reverse_proxy localhost:3000
}