Skip to content

Unexpected Redirection of /docs Endpoint with Custom APP_MODULE Setup #331

Answered by tiangolo
jda5 asked this question in Questions
Discussion options

You must be logged in to vote

It's probably because of some labels in the Traefik proxy, so it would be more related to that than to this image.


On the other hand, now that Uvicorn supports managing workers with --workers, including restarting dead ones, there's no need for Gunicorn. That also means that it's much simpler to build a Docker image from scratch now, I updated the docs to explain it.

Because of that, I deprecated this Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image

That should also make it easier to debug all these things.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #254 on August 25, 2024 04:05.