Skip to content

Commit 8a6a114

Browse files
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 <[email protected]>
1 parent b4cd102 commit 8a6a114

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,6 @@ git.example.com {
187187
}
188188
```
189189

190-
If you still use Caddy v1, use:
191-
192-
```apacheconf
193-
git.example.com {
194-
proxy / localhost:3000
195-
}
196-
```
197-
198190
## Caddy with a sub-path
199191

200192
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 {
208200
}
209201
```
210202

211-
Or, for Caddy v1:
212-
213-
```apacheconf
214-
git.example.com {
215-
proxy /git/ localhost:3000
216-
}
217-
```
218-
219203
Then set `[server] ROOT_URL = http://git.example.com/git/` in your configuration.
220204

221205
## IIS

0 commit comments

Comments
 (0)