Advice nedeed for git over http

My YunoHost server

Hardware: computer at home
YunoHost version: 11.1.19
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen |
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hi,

I’m trying to get http access to git. I’m working with binary files from home and from work (desktop and laptop) and lfs-git works only over https. I already have a file structure and many projects so using gitea or similar would mean to change the file/folder structure and import all projects.

So I’ve followed this tutorial and other similar to that. I tried both a directory in the main domain and a separate subdomain (nginx config files in yunohost paste).

I gived permission to both git user and www-data user to the git directory.

The certificate for the domain is ok.

When I try to push or to clone I get: fatal: https://[url]/[repo-name].git/info/refs not valid: is this a git repository?
I found a stackoverflow question about this and one of the answers suggests it may be a proxy issue. I don’t know if this is the case, but I’m stuck anyway.

Any advice? Thanks.

P.S. I don’t know what logs should I look to get more detailed info.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.