Every time I try to clone any repo with TortoiseGit from our remote gogs repo I get 401 (Unauthorized).
Using http://user:pw@ex.ample.com/user/repo.git as checkout url does not work either.
ssh is not  an option. Everything works with http auth disabled.
simplified nginx config:
server {
        listen 80;
        listen [::]:80;
        server_name ex.ample.com;
                location / {
                        auth_basic "Restricted Content";
                        auth_basic_user_file /var/www/gogs/.htpasswd;
                        proxy_pass http://localhost:3000/;
                }
}
So my question would be: how do I configure TortoiseGit to send valid http auth?
Edit: seems to only affect private repos, public repos are accessible.
Edit2: pushing to public repos is not possible behind http auth aswell.
Solution: https with reverse proxy is behaving oddly, so repo url and push url have to be used with plain http. Probably some nginx tweeking needed here.