Hi there,
I am attempting to create a stable and reusable huggingface docker space for hosting streamlit and fastapi through nginx.
I want to expose streamlit at the root (/) and fastapi endpoint at (/api/)
I have the docker container running locally and working as expected.
The problem is that on Huggingface, the streamlit landing page (/) displays ok, but an attempt to land on fastapi (/api/) yields a 404 error.
I have tried to enable logs with no luck.
Any help appreciated.
The (public) project is located at: