0

I have a react project deployed inside an nginx docker container which is deployed on k8s which is on AWS.

I have a backend service which is deployed also on aws and I have a url to access it. It can be accessed directly on browser, on postman or my react app if I remove the proxy pass for this url, but I need the proxy pass to solve other issues.

It was working at the beginning and stopped working and I got 504, after trying every related solution from stack overflow, now I get 502 instead. And backend shows that nginx could never reach this backend.

There are many other backend Urls being used exactly the same way, and they are totally fine, it is just this one url which is not accessible.

I also have a local nginx running which never gives me issue on this backend Url, but even if I redeploy the react nginx server on aws and redeploy that backend service, it is still giving me 502. Any one have opinion on this weird issue?

Thank you for taking a look.

I tried every possible and related config for the locaton of this url in conf file. But none of them worked

0 Answers0