Skip to content

How to deploy under a non-root directory? #35233

@okuc

Description

@okuc

Description

How to deploy under a non-root directory? When I set ROOT_URL = http://localhost:3000/gitea/, the homepage shows the following error when opened. How should I handle this?

Image

Gitea Version

1.24.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

How to deploy under a non-root directory? When I set ROOT_URL = http://localhost:3000/gitea/, the homepage shows the following error when opened. How should I handle this?

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions