From 8a6a1143a4a03b587164cac93049a34c7b2dd47c Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sun, 28 May 2023 05:34:50 -0400 Subject: [PATCH] Remove reference to caddy v1 in docs (#24962) (#24964) Backport #24962 by @techknowlogick caddy v1 is loong eol. v2 should be used. Co-authored-by: techknowlogick --- .../doc/administration/reverse-proxies.en-us.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/docs/content/doc/administration/reverse-proxies.en-us.md b/docs/content/doc/administration/reverse-proxies.en-us.md index 4988fa2b887d..b6b78ce292de 100644 --- a/docs/content/doc/administration/reverse-proxies.en-us.md +++ b/docs/content/doc/administration/reverse-proxies.en-us.md @@ -187,14 +187,6 @@ git.example.com { } ``` -If you still use Caddy v1, use: - -```apacheconf -git.example.com { - proxy / localhost:3000 -} -``` - ## Caddy with a sub-path In case you already have a site, and you want Gitea to share the domain name, you can setup Caddy to serve Gitea under a sub-path by adding the following to your server block in your Caddyfile: @@ -208,14 +200,6 @@ git.example.com { } ``` -Or, for Caddy v1: - -```apacheconf -git.example.com { - proxy /git/ localhost:3000 -} -``` - Then set `[server] ROOT_URL = http://git.example.com/git/` in your configuration. ## IIS