I can’t give you the technical explanation, but it works.
My Caddyfile only something like this
@forgejo host forgejo.pe1uca
handle @forgejo {
reverse_proxy :8000
}
and everything else has worked properly cloning via ssh with git@forgejo.pe1uca:pe1uca/my_repo.git
My guess is git only needs the host to resolve the IP and then connects to the port directly.
No, it doesn’t suit the needs of the country, it suits the needs of the political party of the president.
Everyone with half a brain agrees this is bad and will make any judge bound by their promises in campaign (ha, more like the promises to their party and promoter) and allow any one to do the job of someone that should have good qualifications.