-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: How to change ssh port #25
Comments
@Riddle233 , try changing it via |
{
git {
repo docs {
base_dir /var/www
auth key /var/keys/id_ed25519
url git@localhost:20002/xxx/doc.git
branch web
}
}
} and I got an error:
|
@Riddle233 , the "invalid auth method" is from your code repo, not the plugin itself. Check the logs for your git server. |
Didn't get anything in gitea logs :( |
@Riddle233 , try running gitea with debugging enabled |
Can i use username and password auth with http instead? |
@Riddle233 , I'd say tinker with it. Trace what is going on, e.g. is caddy-git makes a connection to gitea? What does it send? What does gitea respond with? |
I tested it on my wsl with same caddyfile, it works locally, but didn't work on my nas (in docker), and I cannot get any log from gitea when I use it via docker FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/greenpau/caddy-git
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy |
I am using a self-hosted git server, the ssh port is not 22. How can I change it in Caddyfile?
The text was updated successfully, but these errors were encountered: