open-notebook/docs/deployment
Luis Novo fc8a4a0c64
Some checks are pending
Development Build / extract-version (push) Waiting to run
Development Build / test-build-regular (push) Blocked by required conditions
Development Build / test-build-single (push) Blocked by required conditions
Development Build / summary (push) Blocked by required conditions
fix: resolve API_URL config routing conflict with reverse proxies (#191)
Move runtime configuration endpoint from /api/runtime-config to /_config to avoid
conflicts with reverse proxies that route all /api/* requests to the FastAPI backend.

This fixes an issue where users with reverse proxies would see port 5055 incorrectly
appended to their API_URL even when explicitly set via environment variable.

Changes:
- Move frontend/src/app/api/runtime-config/route.ts to frontend/src/app/_config/route.ts
- Update config.ts to fetch from /_config instead of /api/runtime-config
- Add troubleshooting documentation for reverse proxy users
- Update all reverse proxy examples to show correct routing (catch-all handles /_config)
- Bump version to 1.0.11

The new /_config endpoint is automatically handled by standard reverse proxy catch-all
rules (location / { proxy_pass http://frontend; }), requiring no additional configuration
for most users.

Fixes issue where API_URL environment variable was being ignored in reverse proxy setups,
causing CORS errors with "Status code: (null)" and incorrect port 5055 being added.
2025-10-21 12:06:24 -03:00
..
development.md Version 1 (#160) 2025-10-18 12:46:22 -03:00
docker.md docs: add GHCR registry information 2025-10-18 13:09:16 -03:00
index.md Implement a serverside fix for reverse proxy users (#169) 2025-10-19 08:02:21 -03:00
reverse-proxy.md fix: resolve API_URL config routing conflict with reverse proxies (#191) 2025-10-21 12:06:24 -03:00
security.md Version 1 (#160) 2025-10-18 12:46:22 -03:00
single-container.md Version 1 (#160) 2025-10-18 12:46:22 -03:00