You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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 beforeProxyPass / http://localhost:3000/ nocanon
, there may be other solutions. Do you think this would be useful to add to the docs?The text was updated successfully, but these errors were encountered: