We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, even when a reverse proxy is set up to strip a path prefix, the interactive docs /docs path won't work because the docs UI requires the OpenAPI schema to declare what the proxied server URL is (see https://fastapi.tiangolo.com/advanced/behind-a-proxy/#proxy-with-a-stripped-path-prefix).
/docs
root_path
The text was updated successfully, but these errors were encountered:
alyssadai
Successfully merging a pull request may close this issue.
Currently, even when a reverse proxy is set up to strip a path prefix, the interactive docs
/docs
path won't work because the docs UI requires the OpenAPI schema to declare what the proxied server URL is (see https://fastapi.tiangolo.com/advanced/behind-a-proxy/#proxy-with-a-stripped-path-prefix).Steps to implement
root_path
parameter when initializing FastAPI app https://fastapi.tiangolo.com/advanced/behind-a-proxy/#setting-the-root_path-in-the-fastapi-appThe text was updated successfully, but these errors were encountered: