I've fixed this issue. I noticed that Uvicorn was listening on port 8080. When I changed this to 80, the frontend was then able to talk to the backend. I imagine that an alternative solution would be to add a port-mapping.by alanw - Other discussion
I’ve encountered an upstream routing issue with an application served by Nginx. I’ve run out of ideas and would appreciate any insight into what I need to do resolve it. The application consists of a frontend written in ReactJS, and a backend service written in Python and served by the Uvicorn web server. I use Nginx configured as a reverse proxy server because once I’ve got routing resolby alanw - Other discussion