You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works great when using the ROOT_URL to access the website. However, when we use another domain to access gitea, some problems appear (because we use different domains to access gitea in the LAN or the Internet). When accessing the issuse page with url https://xxx.com/git/issues, all the issuses shown in the list are linked to the ROOT_URL set in app.ini which leads to failed access. But the domains of other links in the page can automatically change to adapt to the current accessing host. I wonder if the links in the issue page can also automatically adapt to the current accessing host or if there's additional settings should be added to nginx to achieve this. Thanks.
Screenshots
The text was updated successfully, but these errors were encountered:
Gitea Version
1.15.7
Git Version
2.25.1
Operating System
Ubuntu Ubuntu 20.04.3 LTS
How are you running Gitea?
Run the binary file downloaded from github releases with systemd and use nginx reverse proxy model for the gitea with the below configs:
And gitea config
app.ini
is as below:Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
It works great when using the
ROOT_URL
to access the website. However, when we use another domain to access gitea, some problems appear (because we use different domains to access gitea in the LAN or the Internet). When accessing the issuse page with urlhttps://xxx.com/git/issues
, all the issuses shown in the list are linked to theROOT_URL
set inapp.ini
which leads to failed access. But the domains of other links in the page can automatically change to adapt to the current accessing host. I wonder if the links in the issue page can also automatically adapt to the current accessing host or if there's additional settings should be added to nginx to achieve this. Thanks.Screenshots
The text was updated successfully, but these errors were encountered: