]> source.dussan.org Git - gitea.git/commitdiff
Remove reference to caddy v1 in docs (#24962)
authortechknowlogick <techknowlogick@gitea.io>
Sun, 28 May 2023 08:39:16 +0000 (04:39 -0400)
committerGitHub <noreply@github.com>
Sun, 28 May 2023 08:39:16 +0000 (08:39 +0000)
caddy v1 is loong eol. v2 should be used.

docs/content/doc/administration/reverse-proxies.en-us.md

index a6efd86549a065728899d614bd12b7d7c8a0b107..7272eb5aa46b1a5b0aaee907e9aaedbd5e20ce85 100644 (file)
@@ -191,14 +191,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:
@@ -212,14 +204,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