Skip to content

[doc] unclear guidance on the https server setup #14401

Closed
@cdluminate

Description

@cdluminate

In the documentation (https://docs.gitea.io/en-us/https-setup/), it is said that the configuration should look like this to get https working:

[server]
PROTOCOL  = https
ROOT_URL  = https://git.example.com:3000/
HTTP_PORT = 3000
CERT_FILE = cert.pem
KEY_FILE  = key.pem

Then it took me quite a while to get it working until I realized that the values for the CERT_FILE and KEY_FILE should be absolute paths instead of the literal relative path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/docsThis PR mainly updates/creates documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions