@martinjrobins This version should be better. Any chance you can test it on the Azure setup and verify it works? I can run it successfully without CORS issues in dev/prod mode quite happily, and even specify a port for it to run on. As is, it'll run on port 80 in both dev and prod modes.
As a side-effect, I've removed nginx's proxying of the django server and just allowed direct access because that container exposes its http interface over port 5000, so you've got http://localhost for the frontend and http://localhost:5000 for the backend.
@martinjrobins This version should be better. Any chance you can test it on the Azure setup and verify it works? I can run it successfully without CORS issues in dev/prod mode quite happily, and even specify a port for it to run on. As is, it'll run on port 80 in both dev and prod modes.
As a side-effect, I've removed nginx's proxying of the django server and just allowed direct access because that container exposes its http interface over port 5000, so you've got http://localhost for the frontend and http://localhost:5000 for the backend.