I can't tell if this is because I am running on docker behind nginx or because I have installed sanic_openapi incorrectly.
All request from nginx to: http://localhost/backend should be routing to: http://backend:5004 so hitting http://localhost/backend/swagger should be all I need.
I keep getting 404. All requests to http://localhost/backend correctly response backend.
Environment (please complete the following information):
Describe the bug When I hit
/swagger
or/swagger/
, I get 404. I stripped down my entire app to be just this:I can't tell if this is because I am running on docker behind
nginx
or because I have installedsanic_openapi
incorrectly.All request from nginx to:
http://localhost/backend
should be routing to:http://backend:5004
so hittinghttp://localhost/backend/swagger
should be all I need.I keep getting 404. All requests to
http://localhost/backend
correctly responsebackend
.Environment (please complete the following information):