cirocosta / gitserver-http

git-http-backend with repository initialization
MIT License
21 stars 22 forks source link

proper ssl termination #1

Open cirocosta opened 8 years ago

cirocosta commented 8 years ago

We can't push without https working.

dmdymov commented 5 years ago

I've just tried to use this image over http and I can clone, but can't push.

Push leads me to: 2018/11/27 14:23:25 [error] 15#15: *6 upstream timed out (110: Operation timed out) while reading response header from upstream, client: ip, server: _, request: "POST /repo.git/git-receive-pack HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket", host: "ip" ip - - [27/Nov/2018:14:23:25 +0000] "POST /repo.git/git-receive-pack HTTP/1.1" 504 208 "-" "git/1.0 (Microsoft libgit2 Client 12.0.0.0)"

Is it connected with using http instead of https? How to configure https?

Thank you.

cirocosta commented 5 years ago

Hey @dmdymov ,

I've not been working on this for a while, but the last thing I did that is kinda related is https://github.com/cirocosta/gpusher.

Maybe you could look at that? It supports git push over there.

thx!