From 0b2421256749e995250c5f95763493db13e44718 Mon Sep 17 00:00:00 2001 From: NZTim Date: Sat, 21 Dec 2019 06:58:26 +1300 Subject: [PATCH] Apache configuration for Let's Encrypt webroot validation (#9438) --- doc/usage/reverse-proxies.en-us.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/usage/reverse-proxies.en-us.md b/doc/usage/reverse-proxies.en-us.md index 55c8bb97..0e4d4b71 100644 --- a/doc/usage/reverse-proxies.en-us.md +++ b/doc/usage/reverse-proxies.en-us.md @@ -129,6 +129,8 @@ If you want Apache HTTPD to serve your Gitea instance, you can add the following Note: The following Apache HTTPD mods must be enabled: `proxy`, `proxy_http` +If you wish to use Let's Encrypt with webroot validation, add the line `ProxyPass /.well-known !` before `ProxyPass` to disable proxying these requests to Gitea. + ## Using Apache HTTPD with a sub-path as a reverse proxy In case you already have a site, and you want Gitea to share the domain name, you can setup Apache HTTPD to serve Gitea under a sub-path by adding the following to you Apache HTTPD configuration (usually located at `/etc/apache2/httpd.conf` in Ubuntu):