Docker Login Registry Failed #14606

Closed
opened 2025-11-02 11:17:23 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @agedcat on GitHub (Jun 15, 2025).

Description

Gitea's URL format is set to example.gitea.com:8443, when I docker login, get error logs:

Image

this log information is sent by gitea. The lack of a specified port causes an error.

Gitea Version

v1.23.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.43

Operating System

Debian 12

How are you running Gitea?

Docker

Database

None

Originally created by @agedcat on GitHub (Jun 15, 2025). ### Description Gitea's URL format is set to example.gitea.com:8443, when I docker login, get error logs: <img width="546" alt="Image" src="https://github.com/user-attachments/assets/6350243d-eb67-4fff-a047-a568ae846b1d" /> this log information is sent by gitea. The lack of a specified port causes an error. ### Gitea Version v1.23.8 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.43 ### Operating System Debian 12 ### How are you running Gitea? Docker ### Database None
GiteaMirror added the issue/not-a-bug label 2025-11-02 11:17:23 -06:00
Author
Owner

@agedcat commented on GitHub (Jun 16, 2025):

I had solved the issue. Need to config nginx:
proxy_set_header Host $host:$server_port;

@agedcat commented on GitHub (Jun 16, 2025): I had solved the issue. Need to config nginx: `proxy_set_header Host $host:$server_port;`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14606