After Upgrade to gitea 1.26 I see the following error msg:
The detected web site URL is "http://gitea.netzwissen.de", it's unlikely matching the site config. Mismatched app.ini ROOT_URL or reverse proxy "Host/X-Forwarded-Proto" config might cause wrong URL links for web UI/mail content/webhook notification/OAuth2 sign-in.
Upgrade from gitea 1.24 to 1.26.0 was the only change, there were no changes in rev. proxy configuration..
OK, thanks, in my case it was the same reason, but with another rev. proxy. The misconfiguration was in the Haproy backend config, the correct setting is: