It seems users using nginx were able to fix the problem by doing the following:
location /bi/ {
rewrite ^/bi/(.*) /$1 break;
proxy_ignore_client_abort on;
proxy_pass http://192.168.1.220:81;
proxy_redirect http://192.168.1.220:81 /bi;
}
Can someone help me translate the above nginx settings to caddy settings?