-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker registry will not work when app url contains port #31249
Comments
|
It shouldn't contain port if your reverse proxy setting is right. |
What's your reverse proxy config? What does your Gitea's admin self-check page say? |
My fault, but maybe we can let user set it from Gitea side but not proxy side. |
I'm using nginx proxy manager, and all recommended settings mentioned in docs are added by default. in docs
nginx.conf in NPM
|
I found the solution. This should be added in NPM's settings. |
That's strange. |
And I didn't see any |
NPM is deploy by docker, and host server is running behind a router with NAT. So the network traffic is: |
The solution comes from here: AlistGo/alist#726 Reason:
|
Description
@wxiaoguang

It seems that the changes in #30885 is not correct.
httplib.GuessCurrentAppURL(ctx)
will not return the correct URL when the url contains portI tried to login docker with a url which contains port, then you can see the port is missing in the token request url.

Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None
The text was updated successfully, but these errors were encountered: