Skip to content

Multidomain support #8697

Closed
Closed
@eleksir

Description

@eleksir

UseCase:

I have 1 server with gitea, 2 isolated private domains (in different local nets) and one public domain. I'd like to expose gitea to all three domains correctly with correct links in web ui.

As a frontend server nginx is used.

With versions up to current master (Oct 26 2019) i cannot do it without nginx sub module but replacing strings in http response is dangerous thing as you know.

I'd like to see some simple setting in app.ini where i can put full list of domains to expose gitea to. Or if it is possible not to explicitly set domain name, to be able to expose gitea to any domain request comes to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions