diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2023-10-09 06:45:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 12:45:41 +0800 |
commit | e94a4ad28d45ade6115372a3d1461c3db935065e (patch) | |
tree | 88d7e5730b11627583ff1748b99df3ca08bfde21 /docs | |
parent | ae2794c95863374c8f68215b571d5040bd1fbd2a (diff) | |
download | gitea-e94a4ad28d45ade6115372a3d1461c3db935065e.tar.gz gitea-e94a4ad28d45ade6115372a3d1461c3db935065e.zip |
Add docs section for sub-paths with the container registry (#27505)
Fixes #21092
suggested by
https://github.com/go-gitea/gitea/issues/21092#issuecomment-1749965397
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/administration/reverse-proxies.en-us.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/content/administration/reverse-proxies.en-us.md b/docs/content/administration/reverse-proxies.en-us.md index c141483700..fe54c67d02 100644 --- a/docs/content/administration/reverse-proxies.en-us.md +++ b/docs/content/administration/reverse-proxies.en-us.md @@ -381,3 +381,9 @@ If you really need to do so, to make Gitea works with sub-path (eg: `http://exam 1. Set `[server] ROOT_URL = http://example.com/gitea/` in your `app.ini` file. 2. Make the reverse-proxy pass `http://example.com/gitea/foo` to `http://gitea-server:3000/foo`. 3. Make sure the reverse-proxy not decode the URI, the request `http://example.com/gitea/a%2Fb` should be passed as `http://gitea-server:3000/a%2Fb`. + +## Docker / Container Registry + +The container registry uses a fixed sub-path `/v2` which can't be changed. +Even if you deploy Gitea with a different sub-path, `/v2` will be used by the `docker` client. +Therefore you may need to add an additional route to your reverse proxy configuration. |