mirror of
https://github.com/oxynote/oxynote.git
synced 2026-10-17 10:59:20 +02:00
remove rustfs console redirect in caddy
This commit is contained in:
parent
8c5e7b99af
commit
79fb77d603
|
|
@ -142,7 +142,7 @@ revoked in the app's settings.
|
|||
The dev stack exposes:
|
||||
|
||||
- `8080` — front door (the app; APIs under `/auth-realtime` and `/core`)
|
||||
- `8081` — RustFS console
|
||||
- `8081` — RustFS console (at `/rustfs/console/`)
|
||||
- `8082` — changedetection.io
|
||||
- `8083` — Grafana
|
||||
- `8084` — Mailpit (dev email inbox)
|
||||
|
|
|
|||
|
|
@ -74,11 +74,10 @@
|
|||
:8081 {
|
||||
import common
|
||||
|
||||
# the console is served under its own prefix and references its assets
|
||||
# by absolute path, so the bare root is redirected at it rather than
|
||||
# rewritten away — stripping the prefix would break every asset URL.
|
||||
redir / /rustfs/console/
|
||||
|
||||
# the console lives at /rustfs/console/, and the S3, STS and admin APIs
|
||||
# it calls share this origin at "/" — so the root is left alone rather
|
||||
# than redirected at the console, which would swallow ListBuckets and
|
||||
# the console's own sign-in.
|
||||
reverse_proxy rustfs:9001
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ Go dependencies are fetched into the module cache at build time (`make deps` run
|
|||
`docker/Caddyfile` is the entrypoint for all client traffic:
|
||||
|
||||
- `:8080` — front door. `/core/*` is path-stripped and reverse-proxied to `core:8080`; `/auth-realtime/*` is path-stripped and reverse-proxied to `auth-realtime:8081` (Better Auth, Hocuspocus, the merge proxy — the service itself still serves `/api/...` and `/hocuspocus`); everything else goes to the web SSR container (`web:3000`).
|
||||
- `:8081` — RustFS console
|
||||
- `:8081` — RustFS console (served at `/rustfs/console/`; the root is the S3 API)
|
||||
- `:8082` — changedetection.io
|
||||
- `:8083` — Grafana (direct, not via Caddy)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user