Description
The repository links on the dashboard repository widget are incorrect when gitea is behind a proxy (HAProxy in my case). All other links so far encountered are correct.
Example:
Repository link on dashboard (repo widget, pictured below):
http://gitea.example.com:3000/org/repo-name
All other repo links (all other links so far):
https://proxy-name.example.com/org/repo-name
Gitea Version
1.16.7
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
n/a
Screenshots

Git Version
2.35.2
Operating System
TrueNAS-13.0-U1 Core (jail)
How are you running Gitea?
Installed in jail from default package manager
Database
MySQL
Description
The repository links on the dashboard repository widget are incorrect when gitea is behind a proxy (HAProxy in my case). All other links so far encountered are correct.
Example:
Repository link on dashboard (repo widget, pictured below):
http://gitea.example.com:3000/org/repo-name
All other repo links (all other links so far):
https://proxy-name.example.com/org/repo-name
Gitea Version
1.16.7
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
n/a
Screenshots
Git Version
2.35.2
Operating System
TrueNAS-13.0-U1 Core (jail)
How are you running Gitea?
Installed in jail from default package manager
Database
MySQL