Skip to content

Commit

Permalink
Remove reference to caddy v1 in docs (#24962) (#24964)
Browse files Browse the repository at this point in the history
Backport #24962 by @techknowlogick

caddy v1 is loong eol. v2 should be used.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
GiteaBot and techknowlogick committed May 28, 2023
1 parent b4cd102 commit 8a6a114
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions docs/content/doc/administration/reverse-proxies.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 8a6a114

Please sign in to comment.