Skip to content

Commit fe67390

Browse files
Remove reference to caddy v1 in docs (#24962)
caddy v1 is loong eol. v2 should be used.
1 parent 595e8ab commit fe67390

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
@@ -191,14 +191,6 @@ git.example.com {
191191
}
192192
```
193193

194-
If you still use Caddy v1, use:
195-
196-
```apacheconf
197-
git.example.com {
198-
proxy / localhost:3000
199-
}
200-
```
201-
202194
## Caddy with a sub-path
203195

204196
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 {
212204
}
213205
```
214206

215-
Or, for Caddy v1:
216-
217-
```apacheconf
218-
git.example.com {
219-
proxy /git/ localhost:3000
220-
}
221-
```
222-
223207
Then set `[server] ROOT_URL = http://git.example.com/git/` in your configuration.
224208

225209
## IIS

0 commit comments

Comments
 (0)