Caddy and forgejo
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.
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.
I solved this by setting my changing a setting somewhere in forgejo to display the ssh url as something like ssh.mydomain.com so that I could keep my forgejo domain pointed to the reverse proxy but point git.mydomain.com to the forgejo container which has its own ip address. This is all for local traffic. For other traffic both domains point to my routers ip and I forward port 22 to the forgejo container.