Skip to content

[Docs] Instructions for Apache reverse proxy with Certbot #9366

@nztim

Description

@nztim

I've just spent a bit of time trying to configure Apache as a reverse proxy for Gitea. It works fine as per the docs until you want to use Certbot. It seems to me that the configuration in the docs results in the acme challenge being proxied to Gitea (and a 404) regardless of whether you have a document root, an alias in place or anything.

The solution I used was to add ProxyPass /.well-known ! on the line before ProxyPass / http://localhost:3000/ nocanon, there may be other solutions. Do you think this would be useful to add to the docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/staletype/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