Skip to content

Default value for SSH_DOMAIN is not that of DOMAIN #785

@Misterke

Description

@Misterke

Description

On transferring my setup from Gogs to Gitea, the SSH "URLs" provided for cloning a new or existing repository, were OK on Gogs, but not on Gitea. On Gitea the domain part was missing.

I could easily fix it by adding in the [SERVER] section of app.ini, next to the already present DOMAIN value, also an SSH_DOMAIN with the same value. Apparently, if the latter is absent, Gogs would use the value of the former for SSH domains, but Gitea does not seem to behave in the same way.

I consider this very minor, but the behavior Gogs had, does seem more "nice" and perhaps this difference is worth a mention in the upgrade from Gogs description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions