fix broken configuration for caddy with a subpath

This commit is contained in:
Kwonunn 2025-02-10 16:22:46 +01:00
parent 0431a43a90
commit 87d8e5622a

View file

@ -426,7 +426,10 @@ If you want to serve Forgejo on a subpath, e.g. on https://example.com/code, use
```Caddyfile ```Caddyfile
example.com { example.com {
reverse_proxy /code* 127.0.0.1:3000 route /code/* {
uri strip_prefix /code
reverse_proxy 127.0.0.1:3000
}
} }
``` ```