Skip to content

Repo links on dashboard wrong when using a proxy frontend #20450

Closed
@doodyd

Description

@doodyd

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

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions