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.

  • robber
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    2 months ago

    IIRC there is a plugin for Caddy that can do what you are looking for.

    Edit: here you go

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

      This would only work if there is no other traffic on the port being used (eg: port 22). If both the host SSH service and Forgejo SSH service expect traffic on port 22, then this would not work since server name indication (SNI) is not provided with SSH traffic and Caddy would not be able to identify the appropriate destination for multiple SSH services traffic.