Hi, how do you run forgejo under a reverse proxy while using an ssh channel to pull/push commits?

From what I understand caddy is only able to proxy http traffic.

  • wireless_purposely832@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    I feel silly for not realizing that the SSH config would be used by Git!

    I thought if Forgejo’s SSH service listened to a non-standard port that you would have to do commands with the port in the command similar to below (following your example). I guess I assumed Git did not directly use the client’s SSH service.

    git pull git@git.mysite.com:1234:user/project.git