I am trying to get Caddy to do a reverse proxy using a specific port for some httpIn nodes as well as get my tailscale to let me in the Admin and UI areas. I just cannot get the right Caddyfile config. When I try different things either I get hangups on the httpIn nodes or i get disconnect errors on the tailscale access.
I do not use caddy very often, but are you exposing node-RED with a dedicate Root URL? something like http://localhost/nodered? If so you might want to adapt the settings.js file accordingly to make it reachable via the reverse proxy
This is was the setting I was mentioning about. Do you have some logs from Caddy or your browser that might help solving this issue? Without them it is hard figure out what might be happening