# Self Hosting Git with gitolite. I can clone through ssh but not https

**URL:** <https://forum.systemcrafters.net/t/self-hosting-git-with-gitolite-i-can-clone-through-ssh-but-not-https/1525>\
**Category:** Guix\
**Created:** [March 31, 2025, 3:13am UTC](https://forum.systemcrafters.net/t/self-hosting-git-with-gitolite-i-can-clone-through-ssh-but-not-https/1525 "2025-03-31T03:13:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tatd](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tatd](https://forum.systemcrafters.net/u/tatd)\
**Post date:** [March 31, 2025, 3:13am UTC](https://forum.systemcrafters.net/t/self-hosting-git-with-gitolite-i-can-clone-through-ssh-but-not-https/1525/1 "2025-03-31T03:13:48Z")

</div>

I am having problem with git cloning through HTTPS. It gives my this error, The requested URL returned error: 500. I can clone through ssh find. I did copy most of David Thompson config on nginx, gitolite, certbot and cgit. CGIT seem to be working fine. It allows me to browse in each repository. I check and nginx is part of the git group in the /etc/group. If someone have any suggesting or can look at my config.  
Thank You.

> **[tatd-config.scm « tatd « lstewart - dotfiles - \[no description\]](https://git.tatd.dev/dotfiles/tree/lstewart/tatd/tatd-config.scm)**

---

<div class="post-metadata">

**Author:** ![tatd](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tatd](https://forum.systemcrafters.net/u/tatd)\
**Post date:** [April 10, 2025, 1:55am UTC](https://forum.systemcrafters.net/t/self-hosting-git-with-gitolite-i-can-clone-through-ssh-but-not-https/1525/2 "2025-04-10T01:55:55Z")

</div>

The link is done, and I am in the process of redoing my git repositories.

I was able to solve the HTTPS clone on my repositories. Guix and gitolite change the user and group name on the repositories. I did some changes. I created git home folder and change all the repositories owner and group to git. The last thing was having fcgiwrap service to use the user git else well.
