How to push to Gitea behind a authenticating reverse proxy?

My Gitea installation is behind Authelia (which provides a layer of MFA authentication in front of all my services and soon OpenID authentication). It works great.

What does not work that great is pushing - my git client hits Authelia and cannot go further.

I would like to inquire if there is a well-known solution to that problem (outside of using SSH)?

1 Like
Try whitelisting following paths in authelia for https:
/login/oauth/access_token
.*/info/refs?service=git-receive-pack
.*/git-receive-pack
.*/info/refs?service=git-upload-pack
.*/git-upload-pack
1 Like