Skip to content

Use caddy as the main server #1721

Closed
Closed
@pgaskin

Description

@pgaskin

I think Caddy could be used for the main part of the server. Gitea would listen on a different port on localhost, and Caddy would listen on the main port chosen by the user. This would allow us to do more complex things easier such as:

  1. Automatic HTTPS with Let's Encrypt
  2. Redirect HTTP to HTTPS
  3. Gitea pages on a separate domain
  4. Separate domain for raw files
  5. Redirect old URLs
  6. Set timeouts
  7. Listen on multiple domains and IPs

Many of the issues listed above could be fixed very easily if we integrate Caddy into Gitea.

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