Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nztim opened this issue Dec 15, 2019 · 3 comments
Closed

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

nztim opened this issue Dec 15, 2019 · 3 comments
Labels
issue/stale type/docs This PR mainly updates/creates documentation

Comments

@nztim
Copy link
Contributor

nztim commented Dec 15, 2019

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?

@lunny lunny added the type/docs This PR mainly updates/creates documentation label Dec 16, 2019
@lunny
Copy link
Member

lunny commented Dec 16, 2019

Please send a PR and we can discuss there.

@stale
Copy link

stale bot commented Feb 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Feb 14, 2020
@techknowlogick
Copy link
Member

Closing as this has been added to docs

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/stale type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

No branches or pull requests

3 participants