I dont know about caddy but nginx proxy manager does this very well. Also, if running in docker, you can expose the port that runs ssh for forgejo und a different port than the host machine‘s (eg 2222). In that case you just put the remote in with the port and call it a day.
Its actually the same with real money. Since we gave up the gold standard, money has become a digital currency as well. Both are used to manipulate us.