I have a project that was created on docker 4 containers
backend container
nginx container
database container
frontend container
The project is working correctly and the data that I pull from the backend is all json
Within the database I store urls for files that I store in backend/public
the question :
When I try to drag a file via Postman or Browser
Go to frontend/public/index.html
Instead of backend/public
What is the expected error?
I tried check any file from backend/public but it’s go to frontend/public
2
Answers
nginx config:
backend route service:
If the files are being directed to frontend/public instead of backend/public, it suggests that there might be a misconfiguration in your server or routing settings.