Gitea and reverse proxy, I can't push anymore :(

Hello guys,

I recently installed gitea, which I find great, to replace another tool.

I am in https (port 443), I use a reverse proxy on microsoft azure, which then redirects to the right url.

However, I now have a problem when I try to push a repository to gitea, I have the following error:

$ git push --mirror
fatal: unable to update url base from redirection:
asked for: https://myurl.proxy.net/gitea/PROJET_V2025.git/info/refs?service=git-receive-pack
redirect: Sign in to your account
-3a7bef51f3ac&redirect_uri=MYURL

I think the issue is about the ssl certificate, but don’t know how to solve it

Any ideas ?