HF RL Explorer

Task: Fix FastAPI Documentation Access Behind Nginx Reverse Proxy

Task: Fix FastAPI Documentation Access Behind Nginx Reverse Proxy: a task in Terminal-Lego-15k (Harbor dataset). When running a FastAPI application behind an Nginx reverse proxy with path-based routing (e.g., the app is served under /server/ prefix), the interactive documentation page ( /docs )…

The task

When running a FastAPI application behind an Nginx reverse proxy with path-based routing (e.g., the app is served under `/server/` prefix), the interactive documentation page (`/docs`) fails to load. This is because FastAPI's Swagger UI tries to fetch `openapi.json` from the root path (`/openapi.json`) instead of the…

Part of PrimeIntellect/Terminal-Lego-15k.