I have sorted CORS issues in my application and now i still have one issue which is getting 502 error when uploading an image.
My nginx config for backend is