Gitea proxy configuration with authelia breaks cloning with https protocol

Like the title says, when using authelia for authentication in front of Gitea, cloning a repository is impossible through the https protocol, which also break the git-lfs support of gitea.

I’m assuming I have to setup an additional location block in gitea.subdomain.conf to allow access but I’m a bit lost as to what to put in it, any pointers?

1 Like

I did some more digging and found from git-lfs’s documentation that I can use ssh ssh:// git-lfs-authenticate foo/bar.git download to find out which endpoint is recommended by gitea. In my case it’s:

  "header": {
    "Authorization": "Bearer some-token"
  "href": ""

Is there a way in swag’s proxy-confs to have requests that have this format of Authorization header to bypass the authentication?