summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNZTim <nztim@users.noreply.github.com>2019-12-21 06:58:26 +1300
committerLauris BH <lauris@nix.lv>2019-12-20 19:58:26 +0200
commitf8a6eb8f32c6626cf65753481a332ed8f86bff82 (patch)
tree35d6e0e2138ff66819c52ba4593c6731699ab1e0 /docs
parenta13654562c59b87236d24a1e629caa83c723c096 (diff)
downloadgitea-f8a6eb8f32c6626cf65753481a332ed8f86bff82.tar.gz
gitea-f8a6eb8f32c6626cf65753481a332ed8f86bff82.zip
Apache configuration for Let's Encrypt webroot validation (#9438)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/usage/reverse-proxies.en-us.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/usage/reverse-proxies.en-us.md b/docs/content/doc/usage/reverse-proxies.en-us.md
index 55c8bb9710..0e4d4b71c7 100644
--- a/docs/content/doc/usage/reverse-proxies.en-us.md
+++ b/docs/content/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):